Sorting out the sheep from the goats

Mike Bonner bonnmike at gmail.com
Mon Aug 7 13:52:44 EDT 2017


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 <bonnmike at 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 at 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 at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>



More information about the Use-livecode mailing list