Click or drag to resize

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
Syntax
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
)

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