![]() ![]() |
|
CHANGEThe CHANGE function operates on a variable and replaces all occurrences of one string with another.
COMMAND SYNTAXCHANGE( variable, expression1, expression2 )
SYNTAX ELEMENTSexpression1 may evaluate to any result and is the string of characters that will be replaced. expression2 may also evaluate to any result and is the string of characters that will replace expression1. The variable may be any previously assigned variable in the program.
NOTESEither string can be of any length and is not required to be the same length. See also the SWAP function. The jBC language also supports the CHANGE statement.
EXAMPLES
|