Add the split_first and split_last functions on strings.
authorNathan Binkert <binkertn@umich.edu>
Wed, 9 Feb 2005 18:46:23 +0000 (13:46 -0500)
committerNathan Binkert <binkertn@umich.edu>
Wed, 9 Feb 2005 18:46:23 +0000 (13:46 -0500)
commit26ef1f56c8b62019e45f008f2abb2f8dcca6f24b
treec5a5897f9847423a9fc17d3fe3d14c0104155677
parent89ba024b9843719bf06a9c3efaaf1b137dee2a12
Add the split_first and split_last functions on strings.

base/str.cc:
base/str.hh:
    Add a couple functions that allow you to split a string at
    the first or last instance of a delimiter.

--HG--
extra : convert_revision : 2af22639e1b67ac61577c00475a555841a56f902
base/str.cc
base/str.hh