Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Regex help

by damian1301 (Curate)
on Jun 15, 2001 at 20:35 UTC ( #88839=note: print w/replies, xml ) Need Help??


in reply to Regex help

Yeah, use substr...:
if(length $input >1100){substr($_,0,1100);} # delete everything after 1100 chars


UPDATE: Too bad everyone beat me to it!

Tiptoeing up to a Perl hacker.
Dave AKA damian

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://88839]
help
Chatterbox?
[1nickt]: They assume I do not need a DVD drive
[1nickt]: Heh, or they assume that if I want all that I am a "gamer" and I must want red backlighting for the keyboards and that I will pay $3500 ...
[stevieb]: what is your budget? HP 17" 4k display, DVD writer, full numeric keypad
[stevieb]: $1500 USD

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-03-26 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.