Function Entry: VL-STRING-ELT
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-STRING-ELT
Name
vl-string-elt
Class
Visual LISP Function
Syntax
(vl-string-elt string index)
Arguments and Values
string: source stringindex: integer character position
Description
Returns the character code or character-designating value at the given position in the string.
Return Values
Integer character code.
Side Effects
None.
Compatibility
This function is especially sensitive to the underlying character-indexing model and therefore to Unicode-era changes.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [vl-string-elt (AutoLISP)](https://help.autodesk.com/cloudhelp/2023/ENU/AutoCAD-AutoLISP-Reference/files/GUID-5A68B31E-1EA7-434A-93FF-C05D9514A55B.htm)
- Status: documented.
Notes
- Autodesk documents zero-based indexing: the first character is at position
0. - Autodesk documents that an error occurs if
indexis outside the bounds ofstring. - Autodesk documents an AutoCAD 2021 change from legacy ASCII-range behavior to Unicode character codes under
LISPSYS.