Skip to content

dos_strcase

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

Converts all the characters in this string to uppercase or lowercase characters.

Syntax

(dos_strcase string [T])

Parameters

string

A string.

T

If specified as T, all alphabetic characters in string are converted to lowercase. Otherwise, characters are converted to uppercase.

Returns

The converted string if successful.

nil on error.

Example

Command: (dos_strcase "AutoCAD 2006")
"AUTOCAD 2006"

Command: (dos_strcase "AutoCAD 2006" T)
"autocad 2006"

Clone this wiki locally