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 string
  • string: target string
  • start-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.