tolower

tolower — converts upper case letters to lower case.

Syntax

tolower (string|number)

		

Arguments

string

Any string.

number

Any number.

Returns

Strings with all letters converted to lower case. Numbers in integer form. Floating point numbers are truncated.

Description

This function converts any upper case letters in a string to lower case. It will also convert numbers to their base 10 integer representation.

Example

Gamma> tolower("Jack works for IBM.");
"jack works for ibm."
Gamma> tolower("UNICEF received $150.25.");
"unicef received $150.25."
Gamma> tolower(5.3);
5
Gamma> tolower(0b0110);
6
Gamma> 
		

See Also

toupper