7.6

Table Of Contents
Arguments
string
String in which you want to replace a pattern.
old
String value that defines the pattern you want to replace.
new
String value that represents the replacement pattern.
Code Sample Example
This example replaces the dollar currency symbol with the pound currency symbol.
Example
stringreplace('1,000.00$','$','£')
Strip (function)
Removes all occurrences of a string within another string.
Syntax
strip( string1, string2 ) string value
Arguments
string1
String value to be removed from string2.
string2
String value to change.
Code Sample Example
This example strips all dollar signs from a variable.
Example
define(&data,string,'$11.95')
show(strip('$',&data))
©2010 Objectif Lune Inc - 547 -