You are viewing a single comment's thread. Return to all comments →
pos=tag_preamble.find("."+tag); if (pos==string::npos) tag_preamble=""; else tag_preamble=tag_preamble.substr(0,pos);
can somebody explain me these three lines from the above solutions...
Seems like cookies are disabled on this browser, please enable them to open this website
Attribute Parser
You are viewing a single comment's thread. Return to all comments →
pos=tag_preamble.find("."+tag); if (pos==string::npos) tag_preamble=""; else tag_preamble=tag_preamble.substr(0,pos);