Darwin Help

Back to Index

SearchTag

Function SearchTag


Calling Sequence  SearchTag(tg,txt)
Parameters
NameTypeDescription

tg stringan SGML tag without the surrounding angle brackets
txt stringa string that is searched for in the field defined by tg
Return Type  string
Synopsis The SearchTag function extracts the information surrounded by SGML tag tg in the body of txt text. If tg is not found in txt, the empty string is returned.
Examples
> SearchTag('AC', '<ID>ABL1_CAEEL</ID><AC>P03949;</AC>');
P03949;
See also SearchAC,   SearchDb,   SearchID,   Species_Entry