Skip to content

dos_strcull

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

Culls, or removes, duplicate strings from a list of strings.

Syntax

(dos_strcull list [T])

Parameters

list

A list of strings.

T

If specified as T, a case insensitive comparison is performed. Otherwise, a case sensitive comparison is performed..

Returns

A culled list if successful.

nil on error.

Example

Command: (dos_strcull '("autocad" "AutoCAD" "AUTOCAD" "autocad"))
("autocad" "AutoCAD" "AUTOCAD")

Command: (dos_strcull '("autocad" "AutoCAD" "AUTOCAD" "autocad") T)
("autocad")

Clone this wiki locally