IUserAccessiablestringIndexOf Method |
Returns the (zero-based) index in string inFull of the first occurance of string inPart
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax int stringIndexOf(
string inFull,
string inPart
)
Parameters
- inFull
- Type: SystemString
string containing string inPart - inPart
- Type: SystemString
string contained in string inFull
Return Value
Type:
Int32The index number of the first occurance of inPart in inFull, or -1 if inPart isn't contained in inFull
Examples
stringIndexOf("Good Morning", "od") will return the number 2
See Also