Add a quote at the begining and the end of string.
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function QuoteString ( _ str As String, _ quote As String _ ) As String |
| C# |
|---|
public static string QuoteString( string str, string quote ) |
Parameters
- str
- Type: System..::..String
The string to quote.
- quote
- Type: System..::..String
The quote could be any string.