SRL Archive - OSR Help

pos(SubStr: AnyString; S: AnyString): LongInt;


Roflme

2013-07-19 20:44:29

What exactly does this do/mean?

Stumbled across this for a few functions (most specifically FindChatBoxText). Just would love some clarification for what Pos/PosEx even do/mean.

Pos = Position or something else?

Thanks.

Olly

2013-07-19 20:49:54

yes, pos() will tell you the position the string is within the string if its not it will return 0.

Roflme

2013-07-19 20:51:22

From: Olly
yes, pos() will tell you the position the string is within the string if its not it will return 0.


Awesome, thanks man!