I’ve been trying to get a JavaScript regex command to turn something like "thisString"
into "This String"
but the closest I’ve gotten is replacing a letter, resulting in something like "Thi String"
or "This tring"
. Any ideas?
To clarify I can handle the simplicity of capitalizing a letter, I’m just not as strong with RegEx, and splitting "somethingLikeThis"
into "something Like This"
is where I’m having trouble.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…