![](../icons/Help.png) | CSTRISplitString Method (CGXNETCore, String, String, String) |
Splits a string in two on a character.
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntaxpublic static void ISplitString(
CGXNETCore gxNetShared,
ref string origstr,
string ch,
ref string split
)
Public Shared Sub ISplitString (
gxNetShared As CGXNETCore,
ByRef origstr As String,
ch As String,
ByRef split As String
)
public:
static void ISplitString(
CGXNETCore^ gxNetShared,
String^% origstr,
String^ ch,
String^% split
)
static member ISplitString :
gxNetShared : CGXNETCore *
origstr : string byref *
ch : string *
split : string byref -> 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.
See Also