G'day to all,

I am trying to work on a solution to this problem and I am getting all mixed up with my php functions.

I use camelCasing for my file names and I would like to output the file names as readable text.


I would like to have it as:
"Contact Us"

What expression or function would I need to allow this function to work? With the forsight of different file names,

pageTypes => Page Types

Many thanks in advance