string->titlecase

Returns titlecase text.

Target member

Signature

1string->titlecase(language::string= ?, country::string= ?)

Returns titlecase text.

string->titlecase is called with member syntax on a receiver value. string->titlecase works with text values. Normalize input at boundaries, escape at output boundaries, and keep encoding calls close to the place where the encoded text is needed.

Parameters

language
Optional value of type string. Supply language positionally unless the signature shows a keyword form.
country
Optional value of type string. Supply country positionally unless the signature shows a keyword form.

Examples

Basic call

1'ada lovelace'->titlecase
The example shows the receiver and result shape. In templates, apply escaping at the final output boundary.