Handbook
Glossary
>title ( string -- title )
Case mapping
Prev:
>lower ( string -- lower )
Next:
>case-fold ( string -- fold )
Vocabulary
unicode
Inputs
string
a
string
Outputs
title
a
string
Word description
Converts a string to title case.
Definition
USING:
sequences
unicode.case.private
;
IN:
unicode
:
>title
( string -- title )
final-sigma
>words
[
capitalize
]
map!
concat
;