 | CSTRiStrStr Method |
Scan a string for the occurrence of a given substring.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int iStrStr(
CGXNETCore gxNetShared,
string str_val,
string sub,
int case_sensitive
)
public static int iStrStr(
CGXNETCore gxNetShared,
string str_val,
string sub,
int case_sensitive
)
Public Shared Function iStrStr (
gxNetShared As CGXNETCore,
str_val As String,
sub As String,
case_sensitive As Integer
) As Integer
Public Shared Function iStrStr (
gxNetShared As CGXNETCore,
str_val As String,
sub As String,
case_sensitive As Integer
) As Integer
public:
static int iStrStr(
CGXNETCore^ gxNetShared,
String^ str_val,
String^ sub,
int case_sensitive
)
public:
static int iStrStr(
CGXNETCore^ gxNetShared,
String^ str_val,
String^ sub,
int case_sensitive
)
static member iStrStr :
gxNetShared : CGXNETCore *
str_val : string *
sub : string *
case_sensitive : int -> int
static member iStrStr :
gxNetShared : CGXNETCore *
str_val : string *
sub : string *
case_sensitive : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - str_val
- Type: SystemString
String to scan - sub
- Type: SystemString
String to look for - case_sensitive
- Type: SystemInt32
<define>STR_CASE</define>
Return Value
Type:
Int32
-1 if the substring does not occur in the string
Index of first matching location if found
See Also