JavaScript Strings for Pythonistas (Fast Track)

Stephen Gruppetta 17 Lessons 1h 52m Updated basics js py

Split a ticket header with header.split(":", 1) in Python, and you get the key and the whole title. Port it as written, and JavaScript returns [ 'PAY-2291' ]: the key alone, with no error.

In this course, you’ll port a payments team’s Python helper that turns a ticket header into a branch name and a commit subject. This is the Fast Track version of the course, for learners with more Python experience, and it’s the one on the Intermediate and Advanced paths. It covers the same ground faster, in shorter lessons.

By the end of this course, you’ll be able to:

  • Build text with quotes and backticks
  • Read characters and slices with [], at(), and slice()
  • Clean text with string methods, and write the few JavaScript doesn’t have
  • Split text apart and join words back together
  • Port the whole branch-name helper to JavaScript

You’ll need Python’s string toolkit, from f-strings and slicing to split() and join(), plus Node 26 and the JavaScript basics: const and let, if, for...of, template literals, and ===. The Python examples use Python 3.15.

Short videos and text lessons mix with exercises, a project that ports the helper, and a quiz.

What’s Included:

  • 17 Lessons
  • Video Subtitles and Full Transcripts
  • Translated Subtitles in 8 Languages
  • 2 Downloadable Resources
  • Interactive Quiz to Check Your Progress
  • 5 Hands-On Coding Exercises
  • Q&A With JavaScript Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

Related Learning Paths:

About Stephen Gruppetta

Stephen obtained a PhD in physics and worked as a physicist in academia for over a decade before becoming a programming educator. He's constantly looking for simple ways to explain complex things.

» More about Stephen

← Browse All Courses