Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
strUpr(%str) $= %str returning true no matter what
« previous
next »
Print
Pages: [
1
]
Author
Topic: strUpr(%str) $= %str returning true no matter what (Read 373 times)
Perlin Noise
March 02, 2013, 03:43:26 PM
Title says it all.
Im trying to make something that detects uppercase text, but strUpr(%str) $= %str, strStr(strUpr(%str),%str) and strCmp(strUpr(%str),%str) all return true or -1
Ad Bot
Advertisement
Ephialtes
March 02, 2013, 05:06:34 PM
-1 for strcmp means it didn't match ...
Port
March 02, 2013, 05:08:08 PM
strStr( %str, strUpr( %str ) ) == 0
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
strUpr(%str) $= %str returning true no matter what