I think you have an error in your code samples. Your vowel set should be "aeiouandsometimesy"
On Mon, Aug 7, 2017 at 1:56 PM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Tore and Mike. > > Richmond. > > > On 8/7/17 8:52 pm, Mike Bonner via use-livecode wrote: > >> typo, first line should be >> repeat for each char tChar in tVar -- where tvar has your string >> >> On Mon, Aug 7, 2017 at 11:52 AM, Mike Bonner <bonnm...@gmail.com> wrote: >> >> 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 >> > > _______________________________________________ > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ 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