added the lineSpliceByWords and lineSpliceByChars functions on the String object prototype