Jano Svitok wrote: > On Fri, Jun 6, 2008 at 7:20 AM, Pokkai Dokkai <bad_good_lion / yahoo.com> > wrote: > > Can you tell what do you want to do? Why do you need to know the > length of the tag? > Do you want to pad the text with spaces? > > What's wrong with the following? > > <% > string="Hello Ruby ,How are you" # any String object > %> > <%= string %> actually there is a empty paper in that paper some datas want to print for some corresponding position (see below..like name,phone. etc...) #empty paper ------------------------------------------------------------- | | | name: phone: | | | | post: comment: | | | | address: | ------------------------------------------------------------- #paper after print ------------------------------------------------------------- | | | name:mokkai phone: 919234244 | | | | post:somthing comment: nothing | | | | address:full address detail here...... | ------------------------------------------------------------- so i want to create print details in .rhtml format -- Posted via http://www.ruby-forum.com/.