I often have long strings I want to break into new lines in various languages. E.g. in python
x = ("The quick brown fox jumps over the lazy dog")
/\ cursor here
becomes
x = ("The quick brown fox "
"jumps over the lazy dog")
Or in javascript
var x = "The quick brown fox jumps over the lazy dog."
/\ cursor here
becomes
var x = "The quick brown fox " +
"jumps over the lazy dog."
Is there a way to do this in vanilla Emacs or Spacemacs?