Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

how do you say strpos in lsl?

Cherry Hainsworth
Registered User
Join date: 31 Jul 2006
Posts: 125
06-18-2007 02:06
Can't find out how to check if string A contains string B - when the string length is variable?
I'm currently doing it the long way: giving the script a list of all possible values for B.
But there must be a better way .... ?

Cherry
Ed Gobo
ed44's alt
Join date: 20 Jun 2006
Posts: 220
06-18-2007 02:21
http://wiki.secondlife.com/wiki/LlSubStringIndex
Cherry Hainsworth
Registered User
Join date: 31 Jul 2006
Posts: 125
06-18-2007 04:35
Thank you! :D