| Blockland Forums > Modification Help |
| If Containing |
| << < (3/4) > >> |
| otto-san:
str(i)Pos(%sourceString, %searchString[, %offset]); strStr(%sourceString, %searchString); |
| MegaScientifical:
I meant an example of what the offset is doing. |
| Chrono:
Meaning if you know there's going to be a chance that %searchString may be in there more than once, then you use offset if you only want the last one or something like that. |
| MegaScientifical:
So it'd ignore first or second case? And no one told me this? All my scripting knowledge came from examples, and most of what I originally saw used strStr... Damn it. |
| Chrono:
I'm not exactly sure how to use it. I'm pretty sure it's position in the string. So striPos("i am a turtle i am strong","i am", 4); would look for "i am" in " a turtle i am strong" |
| Navigation |
| Message Index |
| Next page |
| Previous page |