Hey guys, say my string contains 'partyhats'.
What would i do to check if the string contains the word 'partyhat'?
I know about Pos(); but I dont know how to use it.
Hey guys, say my string contains 'partyhats'.
What would i do to check if the string contains the word 'partyhat'?
I know about Pos(); but I dont know how to use it.
Simba Code:if(pos('partyhat', 'partyhats') <> 0)then
My Outdated ScriptsEdgeville Log Cutter | Edgeville AIO Jewelry | AIO Pickpocketer | Urn Activator | Slayer Tower | Slaying KuradalMy Working Scripts: Tutorials:Function Pointers and Why You Should Care! | Forms and Saving Settings | The Magic Behind Programming Tutorial | Recursive Recursion![]()
Simba Code:if pos() > 0 then
StringContainsPartyhat := true;
I only know how to do this in java and I'm basicly retarded in java.. its something like
Idk you can try something like thatjavajava Code:ContaintsTextIgnoreCase('jdgjdfpartyhatfjksj')
You should also check out regex, it has many advanced text related functions.
Miner & Urn Crafter & 07 Chicken Killer
SPS BlindWalk Tutorial
Working on: Nothing
teacher in every art, brought the fire that hath proved to mortals a means to mighty ends
There are currently 1 users browsing this thread. (0 members and 1 guests)