Logo Search packages:      
Sourcecode: wvstreams version File versions

WvString afterstr ( WvStringParm  line,
WvStringParm  a 

Returns everything in line (exclusively) after a. If a is not in line, "" is returned.

Definition at line 788 of file strutils.cc.

References afterstr(), WvFastString::len(), and WvString::unique().

Referenced by afterstr().

    char *loc = strstr(line, a);
    if (loc == 0)
      return "";

    loc += a.len();
    WvString ret = loc;
    return ret;

Generated by  Doxygen 1.6.0   Back to index