Write a function that inserts a white space between every instance of a lower character followed immediately by an upper character. code example
Example: typescript space between capital letters
s = s.replace(/([A-Z])/g, ' $1').trim()
s = s.replace(/([A-Z])/g, ' $1').trim()