diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
commit | 00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch) | |
tree | a6a58bd544eb0b76b9d3acc678ea88791acca045 /test/04-function-replace.txt | |
parent | Initial commit. (diff) | |
download | libixion-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-replace.txt')
-rw-r--r-- | test/04-function-replace.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/04-function-replace.txt b/test/04-function-replace.txt new file mode 100644 index 0000000..d2225f5 --- /dev/null +++ b/test/04-function-replace.txt @@ -0,0 +1,20 @@ +%mode init +A1@My dog is not big. +A2=REPLACE(A1,4,3,"elephant") +B1@家の犬は大きくない。 +B2=REPLACE(B1,3,1,"子猫") +B3=REPLACE(B1,100,100,"でもうるさい。") +B4=REPLACE(B1,1,0,"我が") +B5=REPLACE(B1,-1,0,"foo") +B6=REPLACE(B1,1,-1,"foo") +B7=REPLACE(B1,FIND("犬",B1),1,"倉庫") +%calc +%mode result +A2="My elephant is not big." +B2="家の子猫は大きくない。" +B3="家の犬は大きくない。でもうるさい。" +B4="我が家の犬は大きくない。" +B5=#VALUE! +B6=#VALUE! +B7="家の倉庫は大きくない。" +%check |