strescape

Purpose

Escape the characters in a string. In strescape syntax, str is an input string, charsToEscapeStr is a string of chars that will be escaped when found in str, and escapeStr is a one character string that is used as the escape character.

Syntax

returnedString = strescape(str, charsToEscapeStr, escapeStr)

returnedString - type:  str

str - type:  str

charsToEscapeStr - type:  str

escapeStr - type:  str

 

Returns

Remarks

Escaping adds the escape character before each instance of the characters to escape.

Example

See Also

strunescape