 | CSTRTrimQuotes Method |
Remove double quotes.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void TrimQuotes(
CGXNETCore gxNetShared,
ref string str_val
)
public static void TrimQuotes(
CGXNETCore gxNetShared,
ref string str_val
)
Public Shared Sub TrimQuotes (
gxNetShared As CGXNETCore,
ByRef str_val As String
)
Public Shared Sub TrimQuotes (
gxNetShared As CGXNETCore,
ByRef str_val As String
)
public:
static void TrimQuotes(
CGXNETCore^ gxNetShared,
String^% str_val
)
public:
static void TrimQuotes(
CGXNETCore^ gxNetShared,
String^% str_val
)
static member TrimQuotes :
gxNetShared : CGXNETCore *
str_val : string byref -> unit
static member TrimQuotes :
gxNetShared : CGXNETCore *
str_val : string byref -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - str_val
- Type: SystemString
String to trim
Remarks
THE STRING IS MODIFIED.
This method goes through the string and removes all spaces in a
string except those enclosed in quotes. It then removes
any quotes. It is usfull for trimming unwanted spaces from
an input string but allows the user to use quotes as well.
If a quote follows a backslash, the quote is retained and
the backslash is deleted. These quotes are NOT treated as
delimiters.
See Also