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 :).

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== 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 – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

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

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

Original source


17 responses to “JavaScript Tutorial For Beginners #25 – Slice and Split Strings”

  1. This tutorial made me hungry for prok~!
    But, f'reals though, you and the tutorials you make are awesome!
    A very nice balance of thorough, to-the-point lecturing, and light-hearted feels.
    Please keep doing what you do! <3

Leave a Reply