<-- Previous || Up || Next -->

Double Quote String Function
String Manipulations Class

Public Function DoubleQuoteString( _
    ByVal vValue As Variant _
    ) As String

Surrounds a string with double-quote characters (").
Replaces each double-quote character within the string with two double-quote characters.

Examples:
    ? "Joseph (""Joe"") Marks"
    Joseph ("Joe") Marks
    ? DoubleQuoteString("Joseph (""Joe"") Marks")
    "Joseph (""Joe"") Marks"
    ? DoubleQuoteString(12345)
    "12345"
See also:
    EqualQuotedValue Function
    QuoteString Function
vValue: The string which is to be double-quoted. vValue defaults to an empty string if it is Null or cannot be fixed up to a String.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.