GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPartInfo Class / Quote Method
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
    public static string Quote( 
       string s,
       char quote
    )

    Parameters

    s
    quote

    Return Value

    a string literal surrounded by quote characters
    See Also