String Functions in Python | count, find, index, join, lower, upper, capitalize | Class 11/12 CS

Опубликовано: 05 Октябрь 2024
на канале: Aditya Aurange
460
19

In this Python tutorial we will learn about STRING Functions
capitalize() Converts the first character to upper case
count() Returns the number of times a specified value occurs
find() Returns index of the specified value if present or gives -1
index() Returns index of the specified value if present or gives error
join() Converts the elements of an iterable into a string
lower() Converts a string into lower case
upper() Converts a string into upper case