diff options
author | fluxgen <fluxgen> | 2002-01-21 01:56:39 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-01-21 01:56:39 (GMT) |
commit | fad5bbfdb916b3733b539cda9e49844a78fb0762 (patch) | |
tree | 948876e02bdd9462cc5136f95df045f64b37a6ed /src/StringUtil.hh | |
parent | 3d20c78714d4bfc95327b16d8af6163d57856463 (diff) | |
download | fluxbox_pavel-fad5bbfdb916b3733b539cda9e49844a78fb0762.zip fluxbox_pavel-fad5bbfdb916b3733b539cda9e49844a78fb0762.tar.bz2 |
added getStringBetween
Diffstat (limited to 'src/StringUtil.hh')
-rw-r--r-- | src/StringUtil.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/StringUtil.hh b/src/StringUtil.hh index 59ce57c..4ac3bff 100644 --- a/src/StringUtil.hh +++ b/src/StringUtil.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: StringUtil.hh,v 1.4 2002/01/09 14:11:20 fluxgen Exp $ | 22 | //$Id: StringUtil.hh,v 1.5 2002/01/21 01:56:39 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef _STRINGUTIL_HH_ | 24 | #ifndef _STRINGUTIL_HH_ |
25 | #define _STRINGUTIL_HH_ | 25 | #define _STRINGUTIL_HH_ |
@@ -34,7 +34,8 @@ struct StringUtil | |||
34 | static const char *strcasestr(const char *str, const char *ptn); | 34 | static const char *strcasestr(const char *str, const char *ptn); |
35 | 35 | ||
36 | static char *expandFilename(const char *filename); | 36 | static char *expandFilename(const char *filename); |
37 | 37 | static int getStringBetween(std::string& out, const char *instr, const char first, const char last, | |
38 | const char *ok_chars=" \t\n"); | ||
38 | //--------- stringtok ---------------------------------- | 39 | //--------- stringtok ---------------------------------- |
39 | // Breaks a string into tokens | 40 | // Breaks a string into tokens |
40 | // Usage check: | 41 | // Usage check: |