Sorting out the sheep from the goats

Mike Bonner bonnmike at
Mon Aug 7 13:52:14 EDT 2017

Repeat for each char tchar intVar
if tChar is among the items of "a,e,i,o,u" then
    -- its a vowel
   -- its not a vowel.
end if

end repeat

On Mon, Aug 7, 2017 at 11:42 AM, Richmond Mathewson via use-livecode <
use-livecode at> wrote:

> Yes, here's "Mr Sanskrit" asking what is probably a very goofy question
> indeed:
> I have a series of long strings of characters such as:
> LarrygubAndCheesemakemyfeetstink
> and I would like a happy little routine that could trot along each string
> and, for each character (and this is ONLY confined
> to the Latin alphabet, at the moment) tell me (or, more importantly, other
> scripts) whether it is a VOWEL or a CONSONANT.
> Of course, having learnt from Mark Waddingham about the effective nature
> of G & T s, I may end up answering my own e-mail . . .
> Thanks Mark, I knew you had more to tell me than "just" computer
> programming :-)
> Richmond.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list