 | CSTRTrimSpace Method |
Remove leading and/or trailing whitespace.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void TrimSpace(
ref string str_val,
int trim
)
public static void TrimSpace(
ref string str_val,
int trim
)
Public Shared Sub TrimSpace (
ByRef str_val As String,
trim As Integer
)
Public Shared Sub TrimSpace (
ByRef str_val As String,
trim As Integer
)
public:
static void TrimSpace(
String^% str_val,
int trim
)
public:
static void TrimSpace(
String^% str_val,
int trim
)
static member TrimSpace :
str_val : string byref *
trim : int -> unit
static member TrimSpace :
str_val : string byref *
trim : int -> unit
Parameters
- str_val
- Type: SystemString
String to trim - trim
- Type: SystemInt32
<define>STR_TRIM</define>
Remarks
THE STRING IS MODIFIED.
Whitespace characters are defined as space, tab, carriage return,
new line, vertical tab or formfeed (0x09 to 0x0D, 0x20)
See Also