Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Just another Perl shrine
 
PerlMonks  

Re: String Length

by Daddio (Chaplain)
on Apr 04, 2001 at 22:18 UTC ( [id://69920]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to String Length

If you are looping through using an array for each of the values you mention, you could do something like this:
@array = ('1ST','10ST','101ST'); foreach (@array) { ($start,$end) = m/(.*)(.{2})/o; print "start = $start\nend = $end\n\n"; }

That would give you two values, upon which further processing would be possible.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://69920]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.