$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: chun ping wang (cablepuff_at_[hidden])
Date: 2007-07-31 18:48:22
I was wondering is it really necessary to use string algorithms to find in
variable str2 the last occurence that does not contain a number between 1
and 9 and create a substr base on that.
regulary i would use std::string strNew =
str2.substr(str2.find_last_not_of("123456789"));
So 2 questions.
1.) Whats the benefit of the string algorithm version of boost in this case.
2.) How would I do this using string algorithm instead.