In this example, you type in a string and pick a character to search for. The JavaScript code searches the string for that character and counts how many times it appears in the search string. You will see how to get data from a form element as well as how to write strings to named tags on the display.

Enter the string to search
Search String Target Character Number Found