summaryrefslogtreecommitdiffstats
path: root/test/04-function-trim.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
commit00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch)
treea6a58bd544eb0b76b9d3acc678ea88791acca045 /test/04-function-trim.txt
parentInitial commit. (diff)
downloadlibixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.tar.xz
libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.zip
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/04-function-trim.txt')
-rw-r--r--test/04-function-trim.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/04-function-trim.txt b/test/04-function-trim.txt
new file mode 100644
index 0000000..7c47729
--- /dev/null
+++ b/test/04-function-trim.txt
@@ -0,0 +1,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