Re: Length of String

2003-01-17 Thread Bill Akins
perldoc -f length #!/usr/local/bin/perl -w use strict; my $foo = "This is 10"; my $i = (length $foo); print "The string is $i charecters long!\n"; >>> "Ho, Tony" <[EMAIL PROTECTED]> 01/17/03 06:08AM >>> Hi guys Do you know whether there is a function in perl to find the size of a string ? For ex

RE: Length of String

2003-01-17 Thread NYIMI Jose (BMB)
C:\>perl -e "print length('06')"; 2 C:\> See perldoc -f length José. > -Original Message- > From: HO Tony (CSG) > Sent: Friday, January 17, 2003 12:08 PM > To: '[EMAIL PROTECTED]' > Subject: Length of String > > > Hi guys &

Length of String

2003-01-17 Thread Ho, Tony
Hi guys Do you know whether there is a function in perl to find the size of a string ? For example, "06" would be size 2. Cheers Tony