Z
zenny lenny
This should be relatively simple but I can't figure it out. I need to
extract the center 3 characters from this data. The text xyz and abc
do not change:
xyz3r4abc
xyzm9zabc
xyzuukabc
I tried several variations on this command, using xyz and abc as
delimiters. The problem is, if any of the characters x,y,z,a,b,c
appear in the data they will be treated as delimiters, so this won't
work.
($data)=split /[xyz,abc]+/
Is there any way to treat xyz and abc as strings? I tried double and
single quotes but that didn't work.
tia
extract the center 3 characters from this data. The text xyz and abc
do not change:
xyz3r4abc
xyzm9zabc
xyzuukabc
I tried several variations on this command, using xyz and abc as
delimiters. The problem is, if any of the characters x,y,z,a,b,c
appear in the data they will be treated as delimiters, so this won't
work.
($data)=split /[xyz,abc]+/
Is there any way to treat xyz and abc as strings? I tried double and
single quotes but that didn't work.
tia