xml string question

Discussion in 'Programming' started by izlik, Jun 7, 2010.

  1. #1
    Hey.

    If i have print(birth). how can i do someting that counts how many letters it's printing out ? birth is 5 letters so i want it to print that it is 5 letters.
     
    izlik, Jun 7, 2010 IP
  2. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #2
    In what language?
    php would be
    echo strlen('birth');
    PHP:
     
    stephan2307, Jun 14, 2010 IP