8.18/6/2018

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))