Hi,

I need to compare string into following way. Can anyone provide me some
insight or algorithm in c++.

  For example:
 
     "a5" < "a11"        - because 5 is less than 11
     "6xxx < 007asdf"    - because 6 < 7
     "00042Q < 42s"      - because Q < s alphabetically
     "6   8" < "006 9"   - because 8 < 9

 

Thx in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to