GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoPartInfo Class
/ Quote Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
Quote Method
In This Topic
Given a string, produce the contents of a JavaScript string literal with single-quote and double-quote characters back-slashified.
Syntax
C#
public
static
string
Quote(
string
s
,
char
quote
)
Parameters
s
quote
Return Value
a string literal surrounded by
quote
characters
See Also
Reference
GoPartInfo Class
GoPartInfo Members