GSAK (Geocaching Swiss Army Knife)
Contents - Index

AtStart (function)

AtStart(  sSearchString, sTargetString,nStart ) : number

Same as the at() function, except that you also can specify the start position to scan from. This function will determine whether a search string is contained within a target.  If found, the function returns the position of the search string within the target string (relative to 1). If not found, the function returns 0 (zero). 
AtStart('the','the man there',2)  returns 9 

Related: At() RegExPos()

Alpha List         Category List

Copyright 2004-2014 CWE Computer Services  
Privacy Policy Contact