29 std::string::size_type begIdx, endIdx;
30 std::string helpString;
31 std::string delims(
" " );
34 begIdx = algoString.find_first_not_of( delims );
35 while ( begIdx != std::string::npos )
37 endIdx = algoString.find_first_of( delims, begIdx );
38 if ( endIdx == std::string::npos ) endIdx = algoString.length();
39 helpString = algoString.substr( begIdx, endIdx - begIdx );
43 begIdx = algoString.find_first_not_of( delims, endIdx );