
dolfantimmy
New User
Jan 24, 2014, 12:06 PM
Post #1 of 3
(2234 views)
|
Removing portions of a string
|
Can't Post
|
|
I have an array of scalar values. The all start with the same thing. I want to remove that repetitive data and leave only the remaining text. For simplicity, suppose I have a scalar value $a="Repeated Text - X213123"; I know with regex I can use s/Repeated Text - //g How do I do this in perl?
|