I am using a replace function to correctly capitalise a word. ie I want the word to be "PDXtra", which means that all versions: "pdxtra", "pdextra" and "pd extra" must be changed, no matter where in the word there are capitals.
Basically I need a replace function which looks at the letters, but not the case. If a word matches "pdextra" or "pdxtra" then it must be changed to "PDXtra".
Is there such a function, or must I go about writing it myself?
Many thanks for any replies!
Basically I need a replace function which looks at the letters, but not the case. If a word matches "pdextra" or "pdxtra" then it must be changed to "PDXtra".
Is there such a function, or must I go about writing it myself?
Many thanks for any replies!