jib
06-15-2007, 03:06 AM
Hey guys,
First off - I'll let you know I haven't had huge amounts of experience with writing code... so hoping someone can guide me slightly here.
My project in summary:
>>>I have a box for input text (lets call it STRINGABC)
>>>I should also have dynamic text on the screen ( lets call A_COUNT), which I would like to automatically count the amount of A's in STRINGABC.
>>>For example, say STRINGABC was "hAppy birthdAy" ... this string contains 2 A's, therefore A_Count should equal 2.
Wondering if anybody knows a simple way to code for this?
Thanks in advance,
First off - I'll let you know I haven't had huge amounts of experience with writing code... so hoping someone can guide me slightly here.
My project in summary:
>>>I have a box for input text (lets call it STRINGABC)
>>>I should also have dynamic text on the screen ( lets call A_COUNT), which I would like to automatically count the amount of A's in STRINGABC.
>>>For example, say STRINGABC was "hAppy birthdAy" ... this string contains 2 A's, therefore A_Count should equal 2.
Wondering if anybody knows a simple way to code for this?
Thanks in advance,