Skip to content

dos_strexcluding

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Extracts a substring that contains only the characters not in a set.

Syntax

(dos_strexcluding string charset)

Parameters

string

A string.

charset

A string interpreted as a set of characters.

Returns

A substring that contains characters in string that are not in charset, beginning with the first character in string and ending with the first character found in string that is also in charset (that is, starting with the first character in string and up to but excluding the first character in string that is found charset). It returns the entire string if no character in charset is found in string.

nil on error.

Example

Command: (dos_strexcluding "1.0,1.0,1.0" ";,-:")
"1.0"

Clone this wiki locally