Home » Documentation » TextTemplate

TextTemplate

The TextTemplate object allows for manipulation of text based content and is especially useful for HTML key replacement based templating.

Constructors

Name Description
Constructor  Initializes a new instance of the TextTemplate class.

Methods

Name Description
GetSubString  Returns the substring contents between the specified string start and string end arguments.
Arguments:
(Start, End)
Load  Sets the Source property with the specified string source argument.
Arguments:
(Source)
(Source, RootPath)
LoadFile  Loads the contents of a file into the Source Property.
Arguments:
(Path)
(Path, RootPath)
RemoveSubString  Removes the substring contents between the specified string start and string end arguments.
Arguments:
(Start, End)
(Start, End, RemoveKeys)
Replace  Replaces string references with in the Source property.
Arguments:
(This, WithThis)
SaveAs  Writes the source property contents to a file.
Arguments:
(FilePath)
ToString  Returns the contents of the Source property.

Properties

Name Description
DTD  Get or set the DTD string for this instance.
Source  Get or set the source string for this instance.
Are you a robot?
Your Email:
Create a Username:
Create a Password:
Forgot Password?
Validate Text: Captcha