You should seriously consider reading http://whytheluckystiff.net/ruby/pickaxe/
And this question is suited for ruby-lang
On 10/15/07, Vidya Vidya
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> Hi all,
>
> How to remove at end of the record "~", i am trying this, but
i
> couldn''t remove, please let me know if any body knows.
> for example , i have 2 files name sample1, sample2,
>
> for sample1 records:(this is one file)
>
> LIN*EDIA000005*000000570*570~
> LIN*EDIA000006*000000570*570~
> LIN*EDIA000007*000000570*570~ // here i want to remove ~ in the looping
> procees
>
> sample 2:
>
>
> LIN*EDIA000008*000000570*570~
> LIN*EDIA000009*000000570*570~
> LIN*EDIA000002*000000570*570~ // here i want to remove ~ in the looping
> procees
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
Cheers!
- Pratik
http://m.onkey.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---