From: Lucky Nl
Date: 2010-08-03T15:17:07+09:00
Subject: Re: How to remove leading from string
Hi ,
Let me explain my requiremnt clearly.
Am usinng fck editor in rubyonrails.
So I can enter data is multiple paragraphs or single paragraph. but
after the last paragraph if there is any spaces , i want to remove them
.
SO i entered data is like.
---------------------------------------------------------------
pargraph1 pargraph1
pargraph2 pargraph2 pargraph2
pargraph3 hello3 hell13
pargraph4 hello3 hell14
--------------------------------------------------------
In the above text 4th paragraph is the last paragrph which i
entered.after that i was pressed enter button so editor converted this
into "
pargraph1 pargraph1
pargraph2 pargraph2 pargraph2
pargraph3 hello3 hell13
pargraph4 hello3 hell14
----------------------------------------------------------------
--
Posted via http://www.ruby-forum.com/.