Handbook
Glossary
capitalize ( str -- str' )
Vocabulary
ascii
Inputs
str
a
string
Outputs
str'
a
string
Word description
Capitalize all the words in a string.
Definition
USING:
kernel
sequences
;
IN:
ascii
:
capitalize
( str -- str' )
>lower
0
over
[
ch>upper
]
change-nth
;