Zsh Tutorial #13: String Operations Every Developer Needs. #13

13views
00
11:32
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Learn string manipulation in Zsh! This lesson covers string basics (length, substrings, concatenation), search and replace patterns, case conversion flags, and splitting/joining strings with arrays. 🔗 Source code: https://github.com/GoCelesteAI/zsh_string_manipulation ⏱️ Timestamps: 0:00 — Intro 0:25 — String Basics Explained 0:59 — String Basics Demo 2:47 — Search & Replace Explained 3:19 — Search & Replace Demo 5:07 — Case Conversion Explained 5:41 — Case Conversion Demo 7:28 — Split & Join Explained 8:02 — Split & Join Demo 10:00 — Recap 10:32 — End 📋 Topics covered: • String length with $#variable • Substrings with 1-based bracket notation • String concatenation and contains checks • Empty/non-empty tests with -z and -n • Replace first ${var/old/new} and all ${var//old/new} • Strip prefix with # and ## • Strip suffix with % and %% • Uppercase ${(U)}, lowercase ${(L)}, capitalize ${(C)} • Case-insensitive comparisons • Split strings with ${(s:delim:)var} • Join arrays with ${(j:delim:)array} 🎬 Part of the Zsh Shell Tutorial series — subscribe for weekly lessons! #zsh #shellscripting #terminal #linux #macos #programming #tutorial

Tags

zshzsh tutorialzsh string manipulationshell scriptingzsh stringsstring operationssearch and replacecase conversionsplit joinparameter expansionzsh parameter flagsshell tutorialcommand lineterminallinux
Back to tutorials

Duration

11:32

Published

February 14, 2026

Added to Codegiz

March 15, 2026

Open in YouTube