 | CSTRISubstr Method (String, Int32, String, Int32, Int32) |
Extract part of a string.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void ISubstr(
ref string dest,
int size,
string orig,
int start,
int length
)
public static void ISubstr(
ref string dest,
int size,
string orig,
int start,
int length
)
Public Shared Sub ISubstr (
ByRef dest As String,
size As Integer,
orig As String,
start As Integer,
length As Integer
)
Public Shared Sub ISubstr (
ByRef dest As String,
size As Integer,
orig As String,
start As Integer,
length As Integer
)
public:
static void ISubstr(
String^% dest,
int size,
String^ orig,
int start,
int length
)
public:
static void ISubstr(
String^% dest,
int size,
String^ orig,
int start,
int length
)
static member ISubstr :
dest : string byref *
size : int *
orig : string *
start : int *
length : int -> unit
static member ISubstr :
dest : string byref *
size : int *
orig : string *
start : int *
length : int -> unit
Parameters
- dest
- Type: SystemString
Destination string - size
- Type: SystemInt32
Size of output string buffer - orig
- Type: SystemString
Origin string - start
- Type: SystemInt32
Start location - length
- Type: SystemInt32
Number of characters
Remarks
The destination string length will be less than the
requested length if the substring is not fully enclosed
in the origin string.
See Also