vl-string-subst
(vl-string-subst newStr oldStr string [
fromPos ] )
This function replaces the first occurrence
of oldStr by newStr in string.
|
Arguments |
newStr (string) replacement string for oldStr |
|
Return |
(string) the result of string substitution |
|
Example |
(vl-string-subst "xxx" "a" "a b c b a") returns "xxx b c b a" |
|
Remarks |
only the first occurrence
of oldStr is replaced by newStr
! |
| © Bricsys NV. All rights reserved. |