Returns text in a string up until a certain character sequence is reached.
int SplitString(const char source, const char split, char part, int partLen)
Source input string.
A string which specifies a search point to break at.
Buffer to store string part.
Maximum length of the string part buffer.
-1 if no match was found; otherwise, an index into source marking the first index after the searched text. The index is always relative to the start of the input string.