Function Entry: DOSSTRTOKENS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: DOSSTRTOKENS
Name
`dosstrtokens`
Class
BricsCAD DOSLib Function
Syntax
(dos_strtokens string splitters [NoEmptyParts])
Arguments and Values
Arguments are described in the vendor page; see Source Notes.
Description
This function splits the given string into a list of tokens, based on specified splitters string; if any optional 3rd argument is given, the result list does not contain empty strings. string : (string) the string to be splitted into a list of tokens splitters : (string) specifies the characters used as delimiters [NoEmptyParts] : if a third argument is given, empty strings are not returned Examples : (dosstrtokens "Split this string of tokens and more strings; end." " ,;" T) ("Split" "this" "string" "of" "tokens" "and" "more" "strings" "end.") (dosstrtokens "Split this string of tokens and more strings; end." " ,;" NIL) ("Split" "this" "string" "of" "tokens" "and" "more" "strings" "end.") (dosstrtokens "Split this string of tokens and more strings; end." " ,;") ("Split" "this" "string" "of" "" "tokens" "and" "more" "strings" "" "end.")
Return Values
Vendor-defined; see Source Notes.
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
Source Notes
- [dosstrtokens (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/dos_strtokens.htm)
- Status: documented (Phase 3 follow-up: body filled from the BricsCAD V26 per-symbol page on 2026-04-26).