appendix cstring operators and methods (continuedmethod rsplit([sep[maxsplit]]returns comments string list returns list of the words in susing sep as the delimiter stringstarting at the end of the string and working to the front if maxsplit is givenat most maxsplit splits are done if sep is not specifiedany whitespace string is separator rstrip([chars]str returns copy of the string with trailing whitespace removed if chars is given and not noneremoves characters in chars instead split([sep[maxsplit]]string list returns list of the words in susing sep as the delimiter string if maxsplit is givenat most maxsplit splits are done if sep is not specified or is noneany whitespace string is separator and empty strings are removed from the result splitlines([keepends]string list returns list of the lines in sbreaking at line boundaries line breaks are not included in the resulting list unless keepends is given and true startswith(prefix[start[end]]bool returns true if starts with the specified prefixfalse otherwise with optional starttest beginning at that position with optional endstop comparing at that position prefix can also be tuple of strings to try strip([chars]str returns copy of the string with leading and trailing whitespace removed if chars is given and not noneremoves characters in chars instead swapcase(str returns copy of with uppercase characters converted to lowercase and vice versa title(str returns titlecased version of si words start with title case charactersall remaining cased characters have lower case translate(tablestr returns copy of the string swhere all characters have been mapped through the given translation tablewhich must be mapping of unicode ordinals to unicode ordinalsstringsor none unmapped characters are left untouched characters mapped to none are deleted upper(str returns copy of converted to uppercase zfill(widthstr pad numeric string with zeros on the leftto fill field of the specified width the string is never truncated this copy belongs to 'acha