strRem Function - Delete a Character from String
The following code searches a specified string character and deletes it.
This function 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("MicrosoftDynamicsAX","aX"); //Returns the string "MicrosoftDynmicsA".
The following code searches a specified string character and deletes it.
This function 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("MicrosoftDynamicsAX","aX"); //Returns the string "MicrosoftDynmicsA".
No comments:
Post a Comment