summaryrefslogtreecommitdiffstats
path: root/test/04-function-trim.txt
blob: 7c47729657ac273f9cbbf18efb27b74d9360da23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%mode init
A1=TRIM("one two three")
A2=TRIM(" one two  three")
A3=TRIM("  one  two three  ")
A4=TRIM("A")
A5=TRIM("A B")
A6=TRIM("")
A7=TRIM(12345)
B1@    日本    韓国  中国
B2=TRIM(B1)
%calc
%mode result
A1="one two three"
A2="one two three"
A3="one two three"
A4="A"
A5="A B"
A6=""
A7="12345"
B2="日本 韓国 中国"
%check