Function: srep

Syntax

srep (<string>,<seq1>,<seq2> )

Type

string

Returns

A string value with character sequences replaced by others.

Parameters

The values of <seq1> and <seq2> are not restricted to single characters but can be any length. Comparisons are case-sensitive.

Examples

Replace all backslashes with forward slashes.

string newname = srep(oldname,'\\','/')

See Also

Functions:

aindex (numeric)