![](../icons/Help.png) | CSTRTrimSpace Method |
Remove leading and/or trailing whitespace.
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 STRING IS MODIFIED.
Whitespace characters are defined as space, tab, carriage return,
new line, vertical tab or formfeed (0x09 to 0x0D, 0x20)
Syntaxpublic static void TrimSpace(
CGXNETCore gxNetShared,
ref string str_val,
int trim
)
Public Shared Sub TrimSpace (
gxNetShared As CGXNETCore,
ByRef str_val As String,
trim As Integer
)
public:
static void TrimSpace(
CGXNETCore^ gxNetShared,
String^% str_val,
int trim
)
static member TrimSpace :
gxNetShared : CGXNETCore *
str_val : string byref *
trim : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - str_val
- Type: SystemString
String to trim - trim
- Type: SystemInt32
<define>STR_TRIM</define>
See Also