How do i compare first letter with my string?
Posted on 2009-07-09
I want to find a letter in my string.
Let say I have a string with an "A"
Then I have another string. I want this to see if the first letter in the string is "A"
Andersson //This one is true. First letter A
Walter //This one is false. First letter W
What letter comes into my method is never known. Sometimes an A sometimes B and so on