Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!

Idiom #327 Convert string to lower case

Assign to t the value of the string s, with all letters mapped to their lower case.

local t = string.lower(s)
import "strings"
t := strings.ToLower(s)
let t = s.toLowerCase();
t = s.toLowerCase();
t := LowerCase(s);
$t = lc $s;
t = s.lower()
t = s.downcase
let t = s.to_lowercase()

New implementation...
< >
programming-idioms.org