js add space before capital letter

103

js add space before capital letter -

s = s.replace(/([A-Z])/g, ' $1').trim()

typescript space between capital letters -

s = s.replace(/([A-Z])/g, ' $1').trim()

Comments

Submit
0 Comments