EDITABLE CODE:
LiveDemo: JavaScript String Object : String Manipulation Method
Note:Refer to the reference to learn all string manipulation methods in detail.