mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
change
This commit is contained in:
@@ -22,7 +22,7 @@ String deleteToMarkerLast(String str, String found);
|
|||||||
|
|
||||||
String selectFromMarkerToMarker(String str, String found, int number);
|
String selectFromMarkerToMarker(String str, String found, int number);
|
||||||
|
|
||||||
size_t itemsCount2(String& str, const String& separator);
|
size_t itemsCount2(String str, const String& separator);
|
||||||
|
|
||||||
size_t itemsCount(String& str, const char* delim);
|
size_t itemsCount(String& str, const char* delim);
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ uint16_t hexStringToUint16(String hex) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t itemsCount2(String& str, const String& separator) {
|
size_t itemsCount2(String str, const String& separator) {
|
||||||
// если строки поиск нет сразу выход
|
// если строки поиск нет сразу выход
|
||||||
if (str.indexOf(separator) == -1) {
|
if (str.indexOf(separator) == -1) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user