|
Stowslee Wanderer
Joined: 20 Apr 2008 Posts: 69 Location: Watervliet, NY
|
Posted: Sun Nov 30, 2014 2:04 am
String Contains Function? |
I am looking to see if there is a way to check and see if a string contains a specific character.
For example:
MUD Output: ABGHI
I want to test to see if that output contains the letter "C"
Is this possible? |
|
|
|
rozdwojeniejazni Wanderer
Joined: 13 Aug 2011 Posts: 74
|
Posted: Sun Nov 30, 2014 6:53 pm |
Function %pos(substring,string)
%pos("C","ABGHI") = 0
%pos("C","ABCGHI") = 3 |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|