Equinox Online Help - Language Reference - A to Z
Remove |
|
---|---|
Applies to | |
Syntax | Remove StringItem, SearchExpression [, FormatExpression] |
Action | [Statement] Removes specified characters from within a string. |
Scope | Usable anywhere. |
Notes | SearchExpression is a string containing the characters you want to remove from StringItem. A search is performed in StringItem for each of the characters in SearchExpression. If found, the characters are removed. The optional argument, FormatExpression, allows you to more accurately specify which characters are removed from StringItem. FormatExpression can take the following values:
Note that if you want to remove a particular sequence of characters from StringItem, you should use the Replace function and substitute a null string. |
Category | String handling |
See Also | ChrList, Chrs, Compare, Fill, IsNumber, Left_Function, Len, Match, Maxlen, Mid_Function, Remove, Replace, Right_Function], Search_SearchNext, SetLen, SetMaxLen, SortOrder, SubstituteData |
Example | This example removes everything except digits from a phone number. Remove PhoneNum, "0123456789", 12 The next example removes all spaces from a registration number. Remove CarRegn, " " |