January 25, 2012 at 3:31 am
I am wanting to split a string which can be a Max chars of 60 but not cut a word in half.
If you don't know what I mean please say
Glad of any help
January 25, 2012 at 3:34 am
kyle.doouss (1/25/2012)
I am wanting to split a string which can be a Max chars of 60 but not cut a word in half.If you don't know what I mean please say
Glad of any help
Try Jeff Moden's string splitter. You can find the code and the article explaining it here --> http://www.sqlservercentral.com/articles/Tally+Table/72993/%5B/url%5D
January 25, 2012 at 6:20 am
Ditto to Jeff Moden's version. It is probably the best, and most highly recommended, splitter code I've seen.
And it works.
January 25, 2012 at 8:15 am
I will be the third to say go with Jeff's splitter. I created my own splitter function before finding the link posted above and not only was Jeff's waaayyyyy faster and more efficient, it was a lot easier to read and understand too.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply