3. String index
• How would you access different characters in a string?
• For example, if the string is “Hello”, can you access and print just the
first character which is “H”?
4. String index
• How would you access different characters in a string?
• For example, if the string is “Hello”, can you access and print just the
first character which is “H”?
5. String methods
• Is there a way to convert all characters in the string to lower case?
• Is there a way to find if a certain word exists in a string?
• Is there a way to split a string into different words based on space
between them?
6. String Methods
Method What does it do?
casefold() Convert the characters to lower
case
upper() Converts a string into upper case
split() Splits the string at the specified
separator, and returns a list
find() Searches the string for a
specified value and returns the
position of where it was found