1. Computing

Calculate Perl String Length

From Mark Lewin, About.com GuideJanuary 3, 2012

Perl 6 Camelia logo

One of the most common things you might want to do is calculate Perl string length. For instance, you might ask the user to enter some text and want to make sure that they haven't entered too much or too little. Piece of cake. Just use Perl's length() function.

But that's just scratching the surface of what Perl can do with strings. Being designed from the ground up as a text manipulation language, Perl has a lot of string functions. Try some of these out in our quick and easy guide.

Photo © Bagwold | Dreamstime.com. Used with permission.

Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Top Related Searches string length

©2013 About.com. All rights reserved.