adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / StringUtil Class / NullToEmpty Method
The string to convert


In This Topic
    NullToEmpty Method
    In This Topic
    Returns the original string, or an empty string if the source is null.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Shared Function NullToEmpty( _
       ByVal source As String _
    ) As String
    [NotNull()]
    public static string NullToEmpty( 
       string source
    )
    [NotNull()]
    public:
    static String^ NullToEmpty( 
       String^ source
    ) 

    Parameters

    source
    The string to convert

    Return Value

    The source, or an empty string if source is a null reference (Nothing in Visual Basic).
    See Also