in reply to
Matching first Letters of two words
Yes it is.
Please have a look at substr and Equality Operators.
Since the requirement mentioned ignoring case, pointers to lc and uc might also be helpful given your approach.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (99 votes),