GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPartInfo Class / SQuote Method
In This Topic
    SQuote Method
    In This Topic
    Given a string, produce the contents of a JavaScript string literal with single-quote and double-quote characters back-slashified, surrounded by single quote marks.
    Syntax
    public static string SQuote( 
       string s
    )

    Parameters

    s

    Return Value

    a string containing a JavaScript string literal surrounded by single quote marks
    See Also