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.

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

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