Truncate string at offset of substring (not including the substring)
void truncateBeforeString(const char * s);
DString Class