The following code searches a specified string character and deletes it. The cool thing about this function is that it is case sensitive.
For example:
str strRem(str text1, str text2)
text1 The string from which to remove characters.
text2 The characters to exclude from the output string.
strRem("MynameIs","is"); //Returns the string "MynameI".
No comments:
Post a Comment