File: splitter.hpp

package info (click to toggle)
sludge 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,844 kB
  • ctags: 2,981
  • sloc: cpp: 31,952; sh: 1,259; xml: 874; makefile: 672
file content (13 lines) | stat: -rwxr-xr-x 377 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _SPLITTER_H_
#define _SPLITTER_H_

#include <stdint.h>
#include "stringarray.h"

// Make an entire stringArray from a char *
stringArray * splitString (const char *, const char = ';', const splitMode = REPEAT, bool = true);
stringArray * splitAtLast (const char * inString, const char findCharIn);

int32_t stringToInt (const char * textNumber, int errorType);

#endif