Odcl_StringReplace

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Lisp utilities >

Odcl_StringReplace

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_StringReplace

This function will replace any string or character into another text string.

First Parameter

String value to replace with.

 

Second Paraaeter

String value to search in the Third parameter.

 

Third Parameter

Text String to modify

 

Return Values

Always return Nil

 

Example:

(Odcl_StringReplace "O" "i" "This color "l beautiful")

 

Result

"ThOs color Os beautOful"

 

AatoLisp Syntax:

(Odcl_StringReplace Text [as string] Text [as string] Text [as string])