Repeat for each char tchar intVar if tChar is among the items of "a,e,i,o,u" then -- its a vowel else -- its not a vowel. end if
end repeat On Mon, Aug 7, 2017 at 11:42 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> 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@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode