Lisa Notes
Lisa Notes
Mar 23, 2026 · Fundamentals

Python String Basics: Finding Substrings and Getting Length

This tutorial demonstrates how to use Python's built-in string functions to obtain a string's length, count occurrences of a substring, convert case, and locate substrings using find, index, and rfind, with concrete code examples and expected outputs.

Pythoncase-conversionfind
0 likes · 4 min read
Python String Basics: Finding Substrings and Getting Length
Liangxu Linux
Liangxu Linux
Oct 13, 2020 · Fundamentals

Master Linux Case Conversion with tr, awk, sed, and Python

This guide walks you through Linux command‑line tools—tr, awk, sed, and even Python—to efficiently convert text case, handle whole‑file transformations, capitalize only first letters, and ensure proper title‑case formatting for scripts and shell pipelines.

Linuxawkcase-conversion
0 likes · 6 min read
Master Linux Case Conversion with tr, awk, sed, and Python