JavaScript Tutorial For Beginners #25 – Slice and Split Strings

Yo ninjas, I just want to show you a couple of neat little string methods (functions) in this JavaScript tutorial. The slice method and the split method. The slice method literally ‘slices’ your string into a new segment defined by starting and ending points. The split method, splits a string into multiple ‘pockets’ and puts them into an array (great for splitting tags).

As always, any questions, fire away below :).


========== JavaScript for Beginners Playlist ==========

========== CSS for Beginners Playlist ==========

========== HTML for Beginners Playlist ==========

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to – or

========== Social Links ==========

Twitter – @TheNetNinja –

Original source

17 thoughts on “JavaScript Tutorial For Beginners #25 – Slice and Split Strings

Leave a Reply