TextTemplate
The TextTemplate object allows for manipulation of text based content and is especially useful for HTML key replacement based templating.
Constructors
|
Constructor
|
Initializes a new instance of the TextTemplate class.
|
Methods
|
GetSubString
|
Returns the substring contents between the specified string start and string end arguments.
|
|
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.
|
|
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.
|
|
SaveAs
|
Writes the source property contents to a file.
|
|
ToString
|
Returns the contents of the Source property.
|
Properties
|
DTD
|
Get or set the DTD string for this instance. |
|
Source
|
Get or set the source string for this instance. |
|