How to Count Vowels in ActionScript - Code Snippet

How to perform 'Count Vowels' in ActionScript.

example.as
// Task: Count Vowels
// Language: ActionScript

function count_vowels() {
    // Implementation for Count Vowels
    var result = ...; // Initialize variable
    // TODO: Implement core logic here
    // Step 1: Prepare data
    // Step 2: Process Count Vowels
    trace("Done");
}
AdSense Slot