adTempus API
ArcanaDevelopment.adTempus.ApplicationIntegration Namespace / ScriptHostInterface Class / ReplaceVariableTokens Method
The string to expand tokens in.


In This Topic
    ReplaceVariableTokens Method (ScriptHostInterface)
    In This Topic
    Expands variable tokens in a string
    Syntax
    'Declaration
     
    
    Public Shared Function ReplaceVariableTokens( _
       ByVal source As String _
    ) As String
    public static string ReplaceVariableTokens( 
       string source
    )
    public:
    static String^ ReplaceVariableTokens( 
       String^ source
    ) 

    Parameters

    source
    The string to expand tokens in.
    Remarks
    This method expands any Job Variable tokens found in the string, replacing each token with the current value of the variable. For example, if the string contains the token "ADTJobName", that gets replaces with the name of the job (which is exposed through the ADTJobName variable.
    See Also