in reply to regexp word break help

All of these above will help. Check out Truncate string, it will also allow you to put ... or whatever you want at the end of the string it chops, and if you ask for an array, it will give you two scalars, first one, choped, and the second will be the remaining string.