method name use center count a_string center(wa_string count(itemljust a_string ljust(wlower rjust a_string lower(a_string rjust(wfind a_string find(itemsplit a_string split(s_charexplanation returns string centered in field of size returns the number of occurrences of item in the string returns string left-justified in field of size returns string in all lowercase returns string right-justified in field of size returns the index of the first occurrence of item splits string into substrings at s_char table methods provided by strings in python 'imy_name* 'daviddavidlen(my_name since strings are sequencesall of the sequence operations described above work as you would expect in additionstrings have number of methodssome of which are shown in table for examplemy_name 'davidmy_name upper('davidmy_name center( david my_name find(' ' my_name split(' '['da''id'of thesesplit will be very useful for processing data split will take string and return list of strings using the split character as division point in the examplev is the division point if no division is specifiedthe split method looks for whitespace characters such as tabnewline and space major difference between lists and strings is that lists can be modified while strings cannot this is referred to as mutability lists are mutablestrings are immutable for exampleyou can change an item in list by using indexing and assignment with string that change is not allowed introduction