StringExtensionsQuoteWrap Method
Wraps value in the quoteChar.
Namespace: Gemstone.StringExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
public static string QuoteWrap(
this string? value,
char quoteChar = '"'
)
<ExtensionAttribute>
Public Shared Function QuoteWrap (
value As String,
Optional quoteChar As Char = """C
) As String
public:
[ExtensionAttribute]
static String^ QuoteWrap(
String^ value,
wchar_t quoteChar = L'"'
)
Gemstone.StringExtensions.StringExtensions.QuoteWrap = function(value, quoteChar);
- value String
- Input string to process
- quoteChar Char (Optional)
- The char to wrap value
Stringvalue wrapped in
quoteCharIn 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).