DEV Community 👩‍💻👨‍💻

Cover image for String Functions  (Python3)

Posted on

String Functions (Python3)

On my journey to learn my first language(python) I thought I would document anything that has helped me. As I get better and work on projects I will share them also.

Python contains many useful built-in functions and methods to accomplish common tasks.
join - joins a list of strings with another string as a separator.
replace - replaces one substring in a string with another.
startswith and endswith - determine if there is a substring at the start and end of a string, respectively.
To change the case of a string, you can use lower and upper.
The method split is the opposite of join, turning a string with a certain separator into a list.

Some things I am interested in.

Top comments (1)

We are hiring! Do you want to be our Senior Platform Engineer? We're hiring for a Senior Platform Engineer and would love for you to apply.

Head here to learn more about who we're looking for.