ToLowercase (open)

Converts a string to lowercase.

Syntax

// Core function, no LOADLIB necessary

STRING FUNCTION ToLowercase(STRING src)

Parameters

STRING src

The string to convert

Return value

STRING

The string, converted to lowercase

Description

Converts all ASCII characters in 'src' to lowercase. This function will not convert any uppercase UTF-8 characters to lowercase.

Examples

// returns 'abcdef'
STRING example1 := ToLowercase("ABCDEF");

// returns 'a-b-c-d-e-f'
STRING example2 := ToLowercase("A-B-C-D-E-F");