What is the best way to convert from Pascal Case (upper Camel Case) to a sentence.
For example starting with
\"AwaitingFeedback\"
a
Pseudo-code:
NewString = "";
Loop through every char of the string (skip the first one)
If char is upper-case ('A'-'Z')
NewString = NewString + ' ' + lowercase(char)
Else
NewString = NewString + char
Better ways can perhaps be done by using regex or by string replacement routines (replace 'X' with ' x')