strcase


(strcase string [ lowerCase ] )

This function converts the specified string to uppercase or lowercase.

Arguments

string  (string) the string to be converted to uppercase or lowercase
lowerCase  (NIL or non-NIL), optional)  if specified and not NIL, conversion is made to lowercase; if omitted, conversion to uppercase is used (default)

Return

the string in uppercase or lowercase spelling

Example

(strcase "aBcDeF")  "ABCDEF"
(strcase "aBcDeF" t)  "abcdef"

Remarks

the actual OS codepage is respected



©  Bricsys NV. All rights reserved.