vle-string-replace


(vle-string-replace  newStr  oldStr  inString)

replaces all occurrences of 'oldStr' with 'newStr' in string 'inStr'

Arguments

'newStr'  new string replacing 'oldStr'
'oldStr'  string to be replaced
'inStr'  target string for replacement

Return

new string with all 'oldStr' replaced by 'newStr'

Example

(vle-string-replace "." "," "12,345,678")
will return  "12.345.678"

Remarks

both 'newStr' and 'oldStr' can have any length, and do not need to be of same length




©  Bricsys NV. All rights reserved.