lower

lower <string>

Return an ASCII lower-cased copy of a string.

Arguments

Returns

A string — the lower-cased copy. The source is not modified.

Examples

after command (say) {
  do "say [lower "ABC"]"
}

The mob says abc.

after command (say) {
  do "say [lower $arg]"
}

This echoes the whole command line in lower case — for say HELLO There the mob says hello there. See handlers for the $arg binding.

See also