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

๐Ÿ“– Read the articleOpen in YouTube