B
Bob Theslob
I am very new to Ruby and I have an issue that I cannot seem to
solve.
Parse a data string, excise four digits (non- adjoined) in the middle
of the string, and then assemble a second string using the data.
As an example, my fisrt string has text =E2=80=9CTest Part 123 G 477=E2=80=
=9D, I want to
assemble a new string =E2=80=9CAABB123477=E2=80=9D.
What I do not know how to do is parse the text to get the numbers. Once
having them I have had no problems assembling the new string.
Can you help with this?
-- =
Posted via http://www.ruby-forum.com/.=
solve.
Parse a data string, excise four digits (non- adjoined) in the middle
of the string, and then assemble a second string using the data.
As an example, my fisrt string has text =E2=80=9CTest Part 123 G 477=E2=80=
=9D, I want to
assemble a new string =E2=80=9CAABB123477=E2=80=9D.
What I do not know how to do is parse the text to get the numbers. Once
having them I have had no problems assembling the new string.
Can you help with this?
-- =
Posted via http://www.ruby-forum.com/.=