I am working on a similar problem with First and Last names. I am using this in the view for formatting the last name -
UPPER(SUBSTR(FIRST_NAME,1,1)) || LOWER(SUBSTR(FIRST_NAME,2) ) AS FIRST_NAMEThis works for one word last names such as SMITH which is now displayed as Smith, but names such as SMITH-VO are displayed as Smith-vo. I guess I might have to split such names based on hyphen and then Capitalize both split pieces. Do this for names like O'BRIEN as well with the apostrophe.
Anybody know of a better way to do this?
↧