a big question about string

a big question about string

Sorry for my english ....
I would like to transform a string like this :

field name : ex : Patrick
field initial : PA (the two first letter of field name)
I'm looking build function but I can't find . have you an idea ?
Thanks a lot !
Love zoho ! the best !