Python string Functions

EditRocket provides the following information on string functions in the Python source code builder.

atof(s) - Deprecated since release 2.0. Use the float() built-in function.

atoi(s[,base]) - Deprecated since release 2.0. Use the int() built-in function.

atol(s[,base]) - Deprecated since release 2.0. Use the long() built-in function.

capwords(s) - Split the argument into words using split(), capitalize each word using capitalize(), and join the capitalized words using join().

maketrans(from,to) - Return a translation table suitable for passing to translate(), that will map each character in from into the character at the same position in to; from and to must have the same length.