| CSTRiStrStr Method |
Scan a string for the occurrence of a given substring.
Available since Oasis montaj version: 5.1.6
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax public static int iStrStr(
string str1,
string str2,
int i3
)
Public Shared Function iStrStr (
str1 As String,
str2 As String,
i3 As Integer
) As Integer
public:
static int iStrStr(
String^ str1,
String^ str2,
int i3
)
static member iStrStr :
str1 : string *
str2 : string *
i3 : int -> int
Parameters
- str1
- Type: SystemString
string to scan - str2
- Type: SystemString
string to look for - i3
- Type: SystemInt32
See STR_CASEConstant
Return Value
Type:
Int32
-1 if the substring does not occur in the string
Index of first matching location if found
See Also