added the splitLinesByChars method to the Str class
modified the line splitting functions to keep the possibility of inline html tags into account and preserve it
modified the all the shortening and line-splitting methods to ignore length of tag elements