 |
evdryst Beginner
Joined: 04 Mar 2008 Posts: 19
|
Posted: Tue Jan 17, 2012 7:28 pm
Searching string? |
How can I search a string for another string? Eg I'd like to search for "guard" in "A guard and a merchant are standing here." and it should return 3.
Thanks! |
|
|
 |
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Tue Jan 17, 2012 8:56 pm |
Try the %pos function.
|
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4718 Location: Pensacola, FL, USA
|
Posted: Tue Jan 17, 2012 11:13 pm |
%match might also work
|
|
_________________ Discord: Shalimarwildcat |
|
|
 |
|
|