-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Strings_StringExtensions_Unquote_2
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
Remove one set of leading and trailing dquotationChar, if both are present.
Namespace: CodeJam.Strings
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static string Unquote(
this string arg,
char quotationChar,
out bool quoted
)
VB
<ExtensionAttribute>
Public Shared Function Unquote (
arg As String,
quotationChar As Char,
<OutAttribute> ByRef quoted As Boolean
) As String
F#
[<ExtensionAttribute>]
static member Unquote :
arg : string *
quotationChar : char *
quoted : bool byref -> string
- arg
- Type: System.String
String to unquote. - quotationChar
- Type: System.Char
Quotation char - quoted
- Type: System.Boolean
Set to true, if arg was quoted.
Type: String
Unquoted arg, if arg is quoted, or arg itself.
In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
StringExtensions Class
Unquote Overload
CodeJam.Strings Namespace