Click or drag to resize
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.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Syntax
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