Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
Parser
Parser.HTML

Method Parser.HTML()->parse_tag_name()


Method parse_tag_name

string parse_tag_name(string tag)

Description

Parses the tag name from a tag string without the surrounding brackets, i.e. a string on the form "tagname some="tag" args".

Returns

the tag name or an empty string if none