next up previous contents
Next: Case Sensitive Search string Up: Searching Functions Previous: Searching Sequence Databases

Searching for SGML Tags

Calling Sequence:
SearchTag(tag, text)
Parameters:
tag : string (an SGML tag without surround angle brackets)
text : string

Returns: string

Synopsis: The SearchTag function extracts the information surrounded by SGML tag tag in the body of text text. If tag is not found in text, the empty string is returned.

Examples:

> SearchTag('AC', '<ID>ABL1_CAEEL</ID><AC>P03949;</AC>');




Gaston Gonnet
1998-09-15