Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/String-comparison/Phixmonti/string-comparison.phixmonti
Normal file
13
Task/String-comparison/Phixmonti/string-comparison.phixmonti
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/# Rosetta Code problem: https://rosettacode.org/wiki/String_comparison
|
||||
by Galileo, 11/2022 #/
|
||||
|
||||
include ..\Utilitys.pmt
|
||||
|
||||
"Pete" >ps
|
||||
|
||||
"pete" tps == if "The strings are equal" ? endif
|
||||
"pete" tps != if "The strings are not equal" ? endif
|
||||
tps "pete" < if ( tps " is lexically first" ) lprint nl endif
|
||||
tps "pete" > if ( tps " is lexically last" ) lprint nl endif
|
||||
tps upper "pete" upper == if "case insensitive match" ? endif
|
||||
ps> lower "pete" find if "petes in there somewhere" ? endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue