string nextTo(int|string d)
Get the text up but not including the specified character or the end of line, whichever comes first.
A delimiter character.
A string.