func locase(s : String) -> String
result := s
for i, ch in indexed(s) | ch in {`A'..`Z'}
result(i) := lowered(ch)
loop
func lowered(ch : {`A'..`Z'}) -> {`a'..`z'}
lower := [`a'..`z']
return lower(index([`A'..`Z'], ch))
Returns a copy of s with all upper case characters converted to lower case.
See also: upcase