LowerCase converts the alphabetic characters in the given string S into all lower case alphabetic characters.

Declaration: Function LowerCase(const S: string): string;

A simple example follows.

procedure OnMapEvent(var Value:Variant);
begin
Value := Lowercase('STATELAKE 123'); //Returns 'statelake 123'
end;