Is there a function that could be used to parse a string for the first word, or second, or what ever word.
In example
I have a string $card_holder_name which contains the full name of a credit card holder (John C Doe) I would like to parse out the first name 'John' and the last name 'Doe' the string could contain only first and lastname as well.
Any one have any suggestions for doing this?
Thanks
Eagle