1- TRIM: Removes extra spaces from a text string, keeping only single spaces between words.

Copy of Copy of Copy of class Car def init(self, brand, model) self.brand = brand self.model = model (17).png

2- UPPER: Converts all letters in a text string to uppercase.

Copy of Copy of Copy of class Car def init(self, brand, model) self.brand = brand self.model = model (18) copy.png

3- LOWER: Converts all letters in a text string to lowercase.

Copy of Copy of Copy of class Car def init(self, brand, model) self.brand = brand self.model = model (18).png

4- LEN: Counts the number of characters in a text string (including spaces).

Copy of Copy of Copy of class Car def init(self, brand, model) self.brand = brand self.model = model (19) copy.png

5- FIND: Finds the position of a specific character or substring within a text string (case-sensitive).

Copy of Copy of Copy of class Car def init(self, brand, model) self.brand = brand self.model = model (19).png

6- SUBSTITUTE: Replaces occurrences of a specific substring with a new substring within a text string.

Copy of Copy of Copy of class Car def init(self, brand, model) self.brand = brand self.model = model (20).png

f fdv dfxv.png