How to find length of string?

Write your question here.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Suppose user enters in a string of input "ab." I have these images [code]	{
" _______   ",                    
"(  ___  )  " ,                   
"| (   ) |  "  ,               
"| (___) |  "   ,                   
"|  ___  |  "    ,                  
"| (   ) |  "     ,               
"| )   ( |  "                
"|/     \\|  "},                

{
" ______    "   ,                     
"(  ___ \\   "   ,                   
"| (   ) )  "     ,               
"| (__/ /   "      ,                 
"|  __ (    "       ,                 
"| (  \\ \\   "      ,               
"| )___) )  "                 
"|/ \\___/   "},  

 {


I want to find the length of these images. I know i have to use the strvariable.length() but not really sure how. If someone can give me an algrotihm i would appreaicate it. Thanks guys!!!
[/code]
Topic archived. No new replies allowed.