Hello everyone,
I downloaded the source of an internet file and need to filter a specific part of it.
I know how the string::size_type position = Line.find("World:</TD><TD>");
function works, but this only tells me where the data I am looking for is located (the data is after "World:</TD><TD>").
I want to have everything that is behind it in a different string, until the "<" gets reached.
Example:
</TR><TR BGCOLOR=#F1E0C6><TD>World:</TD><TD>Blahblah</TD></TR>
is loaded into my string "Line".
I run my sorting thing and it should return "Blahblah" in an other string.
It is an std::string type variable.
I am also looking for a way to convert from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'const
char *'
(at least, the error message says so, it is just a string to const char* conversion)
Thanks in advance.
Eddy