adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / StringUtil Class / AppendString Method
The StringBuilder to append to
The string to append
The separator to use when appending


In This Topic
    AppendString Method
    In This Topic
    Appends a string to a StringBuilder, adding a separator if the StringBuilder is not empty.
    Syntax
    'Declaration
     
    
    Public Shared Sub AppendString( _
       ByVal target As StringBuilder, _
       ByVal stringToAppend As String, _
       ByVal separator As String _
    ) 
    public static void AppendString( 
       StringBuilder target,
       string stringToAppend,
       string separator
    )
    public:
    static void AppendString( 
       StringBuilder^ target,
       String^ stringToAppend,
       String^ separator
    ) 

    Parameters

    target
    The StringBuilder to append to
    stringToAppend
    The string to append
    separator
    The separator to use when appending
    Remarks
    This method can be used, for example, to create comma-separated lists.
    See Also