StringSplitter
StringSplitter copied to clipboard
An Arduino library that adds string splitting functionality to character delimited C++ strings.
I updated the .h file and changed the MAX from 5 to 18. My string had 18 delimit characters "/" and sometimes it gives itemCount 18 correctly and sometimes 1...
Some warning when compiling: ```text lib/StringSpliter/StringSplitter.cpp: In constructor 'StringSplitter::StringSplitter(String, char, unsigned int)': lib/StringSpliter/StringSplitter.cpp:19:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 19 | if(count >...
If i change the limit from lets say 3 (so 4 inputs) to 6 the 4th isnt delimited right
Most of users just copy and paste example code, so [`StringSplitter_Example.ino`](https://github.com/aharshac/StringSplitter/blob/master/examples/StringSplitter_Example/StringSplitter_Example.ino) better to explicitly free memory ```c++ delete splitter; ```
in StringSplitter.h use 1024 as MAX class StringSplitter{ private: static const unsigned int MAX = 1024;
Using the library as an install in Arduino 2.3.6 Not sure what the version number is, tell me exavtly where to look and i'll report back. I am trying to...