String manipulation library
StringUtil.h@2:ea93cc1c113a, 2018-04-29 (annotated)
- Committer:
- tichise
- Date:
- Sun Apr 29 05:56:32 2018 +0000
- Revision:
- 2:ea93cc1c113a
- Parent:
- 0:28fdf43083f9
fix header
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tichise | 0:28fdf43083f9 | 1 | #ifndef MBED_STRING_UTIL_H |
tichise | 0:28fdf43083f9 | 2 | #define MBED_STRING_UTIL_H |
tichise | 0:28fdf43083f9 | 3 | |
tichise | 0:28fdf43083f9 | 4 | #include "mbed.h" |
tichise | 0:28fdf43083f9 | 5 | #include <string> |
tichise | 0:28fdf43083f9 | 6 | |
tichise | 0:28fdf43083f9 | 7 | class StringUtil |
tichise | 0:28fdf43083f9 | 8 | { |
tichise | 0:28fdf43083f9 | 9 | public: |
tichise | 0:28fdf43083f9 | 10 | StringUtil(); |
tichise | 2:ea93cc1c113a | 11 | string slice(string text, string startString, string endString); |
tichise | 0:28fdf43083f9 | 12 | |
tichise | 0:28fdf43083f9 | 13 | private: |
tichise | 0:28fdf43083f9 | 14 | }; |
tichise | 0:28fdf43083f9 | 15 | |
tichise | 0:28fdf43083f9 | 16 | #endif |