Function Entry: VLE-STRING-REPLACE

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VLE-STRING-REPLACE

Name

vle-string-replace

Class

BricsCAD VLE Library Function

Syntax

(vle-string-replace newStr oldStr inString)

Arguments and Values

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

Description

replaces all occurrences of oldStr with newStr in string inStr

Return Values

new string with all oldStr replaced by newStr

Examples

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

will return  "12.345.678"

Notes

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

Availability

  • AutoCAD 2026: not documented.
  • BricsCAD V26: documented.
  • Status: BricsCAD-only.

Source Notes