@STRSLICE   [VDS6]

Top  Previous  Next

Syntax:

 

@STRSLICE(<string>,<start_str>,<end_str>{,EXACT}{,<start_pos>})

 

Description:

 

This function returns the text between <start_str> and <end_str> in <string>. If a numeric value <start_pos> is specified then the match for <start_str> will begin at that character position in the string; otherwise the search will start at the first character position. If <end_str> is omitted, then the whole of the string after <start_str> will be returned.

Note that by default the comparison is not case sensitive. The optional argument EXACT may be used to specify a case-sensitive match

 

OK:

 

Unchanged.

 

Example:

 

%%title = @strslice(%%htmltext,<title>,</title>)

 

See also: