$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Meryl Silverburgh (silverburgh.meryl_at_[hidden])
Date: 2007-02-17 16:54:36
Hi,
I need to compare 2 strings in this format (a integer separator by '/':
/1/1
/1/1/2
/1/1/3
so
"/1/1" is less than "/1/1/2" and "/1/1/2" is less than " "/1/1/3".
Is there anything in Boost string library to help me to write such a comparison?
Is there a string iterator which literates base on the separator '/'?
My idea is to find an iterator to loop thru the string based on
separator '/'.
Thanks for any idea.