14 string::size_type position =
input.find_first_not_of(
" \t\n");
15 if ( position == std::string::npos )
return;
16 input.erase(0, position);
17 position=
input.find_last_not_of(
" \t\n");
18 if ( position != std::string::npos)
19 input.erase( position+1 );
25 string::size_type position =
input.find_first_of(
" \t\n");
26 if ( position==std::string::npos ) {
33 position=
second.find_first_not_of(
" \t\n");
41 vector<string> splitVec;
47 }
while(!
input.empty());