R
Rudy Rusli
Hi
I am looking for a way to get to a specific character in a file.
Let's say i have the following lines in a file
ABC12AX3456XYZ
ABC123HGNasdfg
How do I ask ruby to grab character 3-8 on each line and display them on
the screen?
I would really appreciate if someone could show it by using regular
expressions.
thanks
tabing16
I am looking for a way to get to a specific character in a file.
Let's say i have the following lines in a file
ABC12AX3456XYZ
ABC123HGNasdfg
How do I ask ruby to grab character 3-8 on each line and display them on
the screen?
I would really appreciate if someone could show it by using regular
expressions.
thanks
tabing16