What is the easiest way, given a position in a string, to find the first word boundary before & after the position?
I've tried searching for whitespaces in both directions but this seems clunky and inelegant and I've had trouble finding a unicode list of ALL possible whitespaces.
I've tried searching for whitespaces in both directions but this seems clunky and inelegant and I've had trouble finding a unicode list of ALL possible whitespaces.