DotNetNuke 5.2
The TokenReplace class provides the option to replace tokens formatted [object:property] or [object:property|format] or [custom:no] within a string with the appropriate current property/custom values. Example for Newsletter: 'Dear [user:Displayname],' ==> 'Dear Superuser Account,' Supported Token Sources: User, Host, Portal, Tab, Module, Membership, Profile, Row, Date, Ticks, ArrayList (Custom), IDictionary

Namespace:  DotNetNuke.Services.Tokens
Assembly:  DotNetNuke (in DotNetNuke.dll) Version: 5.2.0.275

Syntax

C#
public class TokenReplace : BaseCustomTokenReplace
Visual Basic (Declaration)
Public Class TokenReplace _
	Inherits BaseCustomTokenReplace
Visual C++
public ref class TokenReplace : public BaseCustomTokenReplace

Remarks