| CSTRISplitString Method |
Splits a string in two on a character.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.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.
Syntax public static void ISplitString(
ref string str1,
string str2,
ref string str3
)
Public Shared Sub ISplitString (
ByRef str1 As String,
str2 As String,
ByRef str3 As String
)
public:
static void ISplitString(
String^% str1,
String^ str2,
String^% str3
)
static member ISplitString :
str1 : string byref *
str2 : string *
str3 : string byref -> unit
Parameters
- str1
- Type: SystemString
original string - str2
- Type: SystemString
split character (first character of string) - str3
- Type: SystemString
split string past split character.
See Also