Files
developer-roadmap/roadmaps/python-data-analysis/content/strip-replace-split@S1EzGF-CLu7tWDb1V6RQc.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

8 lines
640 B
Markdown

# strip, replace, split
`strip()` removes leading and trailing whitespace from a string. `replace()` substitutes one substring with another. `split()` divides a string into a list based on a delimiter. These three methods are among the most used for basic text cleaning, applied either to Python strings directly or through the Pandas `.str` accessor on a column.
Visit the following resources to learn more:
- [@article@Python String Methods: split, join, replace, strip & More](https://devnook.dev/cheatsheets/python-string-methods-cheatsheet/)
- [@article@Python String Methods](https://www.w3schools.com/PYTHON/python_ref_string.asp)