char string library. There is a character string splitting function.

Committer:
tichise
Date:
Sun Apr 29 05:12:11 2018 +0000
Revision:
4:8f58c493d3fc
Parent:
3:a69058b7a85e
fix header

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tichise 1:fc299d8c1c7e 1 #ifndef MBED_CHAR_UTIL_H
tichise 1:fc299d8c1c7e 2 #define MBED_CHAR_UTIL_H
tichise 0:c6bf0554e2f3 3
tichise 0:c6bf0554e2f3 4 #include "mbed.h"
tichise 0:c6bf0554e2f3 5 #include <math.h>
tichise 0:c6bf0554e2f3 6 #include <string>
tichise 0:c6bf0554e2f3 7 #include <string.h>
tichise 0:c6bf0554e2f3 8 #include <list>
tichise 0:c6bf0554e2f3 9
tichise 1:fc299d8c1c7e 10 class CharUtil
tichise 0:c6bf0554e2f3 11 {
tichise 0:c6bf0554e2f3 12 public:
tichise 1:fc299d8c1c7e 13 CharUtil();
tichise 3:a69058b7a85e 14
tichise 4:8f58c493d3fc 15 int split(char *base, const char *delim, char *outlist[]);
tichise 0:c6bf0554e2f3 16
tichise 0:c6bf0554e2f3 17 private:
tichise 0:c6bf0554e2f3 18 };
tichise 0:c6bf0554e2f3 19
tichise 0:c6bf0554e2f3 20 #endif