From: Subashini Kumar Date: 2010-01-06T17:37:01+09:00 Subject: html formatted string -displaying only upto specific length Hi I have a string str="

Hgenrik Lundqvist,ggh nv gnm h fsgfb gthe preternaturally handsome Swedish goalie for the New York Rangers, may have been named one of test from Neskdufluh on december a 2009

" i want to display this with the html formatting as mentioned above in the string. But i want to display only first 15 charatcer.ie 15 characters inclusive of spaces and other special charac that is , i want to display HgenrikLundqvis . But it should be display with all the html formatting as it is in the string "str". please tell me how to display it like this. -- Posted via http://www.ruby-forum.com/.