On 14/06/07, Stephen McInerney <[EMAIL PROTECTED]> wrote: > Where is there a table of replacements for the deprecated 'string' fns > esp. the basic common ones e.g. string.split(), join(), replace(), find(), > index() ? > http://docs.python.org/lib/node42.html
They've basically all moved into the string type. e.g. instead of typing "string.split(foo, sep)", you would now type "foo.split(sep)". Hence the leading comment on the page you cite: "The following list of functions are also defined as methods of string and Unicode objects; see ``String Methods'' (section 3.6.1) for more information on those. " -- John. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor