Prepend text to beginning of string

var mystr = "Doe";
mystr = "John " + mystr;

Wouldn’t this work for you?

Leave a Comment