call itpassing in both object and the arguments orin plain wordsthe method call expression means thiscall method to process object with arguments if the method computes resultit will also come back as the result of the entire methodcall expression as more tangible examples 'spamresult find('pa'call the find method to look for 'pain string this mapping holds true for methods of both built-in typesas well as user-defined classes we'll study later as you'll see throughout this part of the bookmost objects have callable methodsand all are accessed using this same method-call syntax to call an object methodas you'll see in the following sectionsyou have to go through an existing objectmethods cannot be run (and make little sensewithout subject methods of strings table - summarizes the methods and call patterns for built-in string objects in python these change frequentlyso be sure to check python' standard library manual for the most up-to-date listor run dir or help call on any string (or the str type nameinteractively python ' string methods vary slightlyit includes decodefor examplebecause of its different handling of unicode data (something we'll discuss in in this tables is string objectand optional arguments are enclosed in square brackets string methods in this table implement higher-level operations such as splitting and joiningcase conversionscontent testsand substring searches and replacements table - string method calls in python capitalize( ljust(width [fill] casefold( lower( center(width [fill] lstrip([chars] count(sub [start [end]] maketrans( [ [ ]] encode([encoding [,errors]] partition(seps endswith(suffix [start [end]] replace(oldnew [count] expandtabs([tabsize] rfind(sub [,start [,end]] find(sub [start [end]] rindex(sub [start [end]] format(fmtstr*args**kwargss rjust(width [fill] index(sub [start [end]] rpartition(seps isalnum( rsplit([sep[maxsplit]] isalpha( rstrip([chars] isdecimal( split([sep [,maxsplit]] string fundamentals