inStr()
文字列の中からある文字列があればその位置を戻す。マッチする文字列がなければ、ゼロをもどす。
書式:
position
= inStr( string ,
substring )
position = inStr( start
,
string , substring
)
start is an optional start value specifies where in
the string to begin the search.
例;
' sets n to 4
n = inStr( "sdlBasic",
"Basic" )
参照 : rinStr()