title: std::string comparison (check whether string begins with another string)
body: <p>I need to check whether an std:string begins with "xyz". How do I do it without searching through the whole string or creating temporary strings with substr().</p>