Microsoft Dynamics AX, Sharepoint and .NET (C#, ASP.NET) development blog.
Showing posts with label
strRem
.
Show all posts
Showing posts with label
strRem
.
Show all posts
Wednesday, July 27, 2011
strRem Function - Delete a Character from String - AX 2009
The following code searches a specified string character and deletes it. The cool thing about this function is that it is case sensitive.
str strRem(str text1, str text2)
text1
The string from which to remove characters.
text2
The characters to exclude from the output string.
For example:
strRem("MynameIs","is"); //Returns the string "
MynameI
".
Older Posts
Home
Subscribe to:
Posts (Atom)