|
MAKING OTHER FUNCTIONS
Some specialized functions like uppercase first character, delete
spaces, spaces to underscores, replace string1 with string2, and others
can be built with other functions. For example:
Uppercase first can be performed with: LEFT 1 UP
Delete spaces with: MATCH " " DL
Spaces to underscores with: MATCH " " TO _
Replace string1 with string2 with: MATCH string1 TO string2
The uppercase after space (UPAFTERSPC) action that has been removed in this
version can be emulated using the following:
WORD 1,-1 LEFT 1 UP
or with the more complex:
LEFT 1 UP MATCH " /[?1]/" UP
Note that these functions preserve the casing of characters that won't
be modified. To make them "destructive" you would simply insert the
"LOWER" (LW) action at the beggining.
|