CalcIt Commands

REFIND(Expr1, Expr2)

Using the regular expression in Expr1, searches Expr2 and returns an array expression where in every line is contained the position where the sub string is found and the found sub string, in delimited text format. E.g.

set ar=REFind('alpha','The first letter of the Greek alphabet is alpha')

After the execution of this command  ar contains: 


In our example we used the simplest form a regular expression can get. See the complete regular expression syntax for more complex and powerful regular expressions.

See REReplace, Regular Expressions, FIND, REPLACE, SET.

Go Back