Perl Primer - University of California, Davis

Replace is a function that substitutes a string for another: String.replace(‘sub1’,’sub2’,n) ... Python provides a list of functions that manipulates list. Let A be a list: ... in increasing order Searching I=A.index(item) Search for item in list A, and puts index of first occurrence in i Counting N=A.count(item) Counts the number of ... ................
................