 | CSTRISplitString Method (CGXNETCore, String, String, String, Int32) |
Splits a string in two on a character.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void ISplitString(
CGXNETCore gxNetShared,
ref string origstr,
string ch,
ref string split,
int length
)
public static void ISplitString(
CGXNETCore gxNetShared,
ref string origstr,
string ch,
ref string split,
int length
)
Public Shared Sub ISplitString (
gxNetShared As CGXNETCore,
ByRef origstr As String,
ch As String,
ByRef split As String,
length As Integer
)
Public Shared Sub ISplitString (
gxNetShared As CGXNETCore,
ByRef origstr As String,
ch As String,
ByRef split As String,
length As Integer
)
public:
static void ISplitString(
CGXNETCore^ gxNetShared,
String^% origstr,
String^ ch,
String^% split,
int length
)
public:
static void ISplitString(
CGXNETCore^ gxNetShared,
String^% origstr,
String^ ch,
String^% split,
int length
)
static member ISplitString :
gxNetShared : CGXNETCore *
origstr : string byref *
ch : string *
split : string byref *
length : int -> unit
static member ISplitString :
gxNetShared : CGXNETCore *
origstr : string byref *
ch : string *
split : string byref *
length : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - origstr
- Type: SystemString
Original string - ch
- Type: SystemString
Split character (first character of string) - split
- Type: SystemString
Split string past split character. - length
- Type: SystemInt32
Maximum length of split string.
Remarks
The original string is modified by terminating it
at the character split.
The part of the string past the character split is
copied to the split string.
Split characters in quoted strings are ignored.
This function is mainly intended to separate comments
from control file strings.
See Also