Function Entry: VL-STRING-SEARCH
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-STRING-SEARCH
Name
vl-string-search
Class
Visual LISP Function
Syntax
(vl-string-search pattern string [start-pos])
Arguments and Values
pattern: search stringstring: target stringstart-pos: optional starting position
Description
Searches for pattern within string.
Return Values
Returns the index of the first match at or after start-pos, or nil if no match is found.
Side Effects
None.
Compatibility
Autodesk explicitly documents Unicode-related behavioral changes beginning in AutoCAD 2021.
Notes
This function is a useful probe for the host's character-indexing semantics in Unicode-era environments.
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-search (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/PLK/AutoCAD-LT-AutoLISP-Reference/files/GUID-4E7AE1DA-1ED5-4D96-A7D3-34241AA94AA6.htm)
- Status: documented.