470,815 Members | 1,292 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

string length

Hello
Sorry for such simple question:
i have:
my $myval="long sentence...."
How can i count $myval length (how many characters does it have) ?

Thanx
Michal

Jul 19 '05 #1
2 7705
vertigo wrote:
Hello
Sorry for such simple question:
i have:
my $myval="long sentence...."
How can i count $myval length (how many characters does it have) ?

Thanx
Michal


length("some string");
Jul 19 '05 #2
vertigo wrote:
my $myval="long sentence...."
How can i count $myval length (how many characters does it have) ?


We haven't had this SAQ (Self Answering Question) for a while: perldoc -f
length

jue
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Stu Cazzo | last post: by
20 posts views Thread by Chris LaJoie | last post: by
6 posts views Thread by Webgour | last post: by
8 posts views Thread by Jami Bradley | last post: by
29 posts views Thread by zoro | last post: by
7 posts views Thread by Eric | last post: by
15 posts views Thread by morleyc | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.