Tagged articles
3 articles
Page 1 of 1
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.

PythonStringcase-conversion
0 likes · 4 min read
Python String Basics: Finding Substrings and Getting Length