Author Topic: where do i start  (Read 136 times)

bobby_stills

  • New Member
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
where do i start
« on: March 17, 2012, 07:22:36 PM »
i need help on where to start with the following question. Is a loop required.

Using your knowledge of ASCII character sets and If-Else, create a PHP application that will read through every character of a stored string, by a using a suitable loop, and will count the number of @ characters found in the string. (Note: the ASCII value for the @ character = 64). The number of @ characters found should be displayed on screen (even if none were found). To help you achieve this you may need to count the number of characters in the string.