| CSTRTrimQuotes Method |
Remove double quotes.
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 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.
Syntax public static void TrimQuotes(
ref string str1
)
Public Shared Sub TrimQuotes (
ByRef str1 As String
)
public:
static void TrimQuotes(
String^% str1
)
static member TrimQuotes :
str1 : string byref -> unit
Parameters
- str1
- Type: SystemString
String to trim
See Also