[Middle StartAfter=x&EndBefore=y]Any Text[/Middle]
To display a subsection of some text, put the text inside a [Middle] context.
Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):
The example above returns "Hi There", which is the sequence of letters
between "<body>" and "</body>". Extracting sub-portions
of text like this is useful when you need to remove the HTML header information from
a file (or web page) containing HTML that you want to include inside the body of
a web page.
The following parameters are required in the [Middle] context:
| Parameter | Description |
|---|---|
|
StartAfter |
String of text characters to search for that define the beginning of the text to be returned. All preceding text (and the StartAfter text itself) will be ignored. |
|
EndBefore |
String of text characters to search for that define the end of the text to be returned. All following text (and the EndBefore text itself) will be ignored. |