Lua for Beginners: String Creation, .., # Length & string.upper/lower | Episode 4

Master Lua strings! In this episode we explore every way to create strings — single quotes, double quotes, and long brackets [[]] — then use .., #, and
library functions like string.upper, string.lower, and string.rep to build a formatted name badge.

Every keystroke is shown on screen with 3-second pauses so you can follow along at your own pace.

What You’ll Learn:
– Creating strings with “”, ”, and [[]]
– Concatenating strings with ..
– Getting string length with #
– string.upper() and string.lower()
– string.rep() to repeat a string
– Building a formatted name badge project

Source Code:
https://github.com/GoCelesteAI/learn-lua-in-neovim

Timestamps:
0: 00 – Introduction
0: 12 – What You’ll Learn (Preview)
0: 44 – Strings — Double and Single Quotes
1: 44 – Concatenation with ..
2: 16 – Length, Upper, Lower
3: 24 – Multiline Strings with [[]]
4: 50 – Name Badge Project
6: 20 – Recap: Key Takeaways
6: 52 – End Screen

Key Takeaways:
1. Use “”, ”, or [[]] to create strings
2. .. joins strings together into one
3. # returns the length of a string
4. string.upper/lower change letter casing
5. string.rep repeats a string N times

This is Episode 4 of the Learn Lua in Neovim series. New episodes cover booleans, conditionals, loops, and more — all coded inside Neovim.

Taught by CelesteAI. Like & subscribe for more tutorials!

#lua #neovim #programming #tutorial #beginners #learnlua #luaprogramming #neovimtutorial #strings #luastrings #coding

Tags:
lua, lua tutorial, learn lua, lua strings, lua string concatenation, lua string length, lua string upper, lua string lower, lua string rep, lua multiline
string, lua long brackets, lua .. operator, lua for beginners, neovim lua, neovim tutorial, learn lua in neovim, lua episode 4, programming tutorial, coding
tutorial, beginner programming, lua 2026, neovim 2026, screenkey, code along, lua basics, lua string functions