Equinox Online Help - Language Reference - A to Z
ChrList |
|
---|---|
Applies to | |
Syntax | Chrlist(StringExpression, CharlistExpression [, LogExpression]) |
Action | [Function] Searches through a string, for one of a list of characters. |
Scope | Usable anywhere. |
Notes | This function checks each character in StringExpression in turn, until one of the characters in CharlistExpression is found, or until the end of StringExpression is reached. The function returns the number of non-matching characters skipped over. The optional parameter LogExpression defaults to True. If it is supplied as False, then the logic of the search is reversed; StringExpression is searched until a character is found that does not match any in the list. |
Category | String handling |
See Also | Chrs, Compare, Fill, IsNumber, Left_Function, Len, Match, Maxlen, Mid_Function, Remove, Replace, Right_Function], Search_SearchNext, SetLen, SetMaxLen, SortOrder, SubstituteData |
Example | This method breaks up the string txt into words, delimited by characters in the string notword. It displays each word and any immediately following characters, on a separate line in the Print window. string txt, notword |