blob: c996776cfca41f3d7a0264f1457e3fcecfdec9f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Text.upper 3 2025-04-19T14:52:07.140764 "Tomo man-pages"
.SH NAME
Text.upper \- Converts all characters in the text to uppercase.
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Text.upper\ :\ func(text:\ Text,\ language:\ Text\ =\ "C"\ ->\ Text)
.fi
.SH DESCRIPTION
Converts all characters in the text to uppercase.
.TS
allbox;
lb lb lbx lb
l l l l.
Name Type Description Default
text Text The text to be converted to uppercase. -
language Text The ISO 639 language code for which casing rules to use. "C"
.TE
.SH RETURN
The uppercase version of the text.
.SH EXAMPLES
.EX
>> "amélie".upper()
= "AMÉLIE"
# In Turkish, uppercase "i" is "İ"
>> "i".upper(language="tr_TR")
= "İ"
.EE
|