Trees | Indices | Help |
---|
|
This provides useful general functions for working with strings (DEPRECATED).
This module is considered to be deprecated, and is likely to be removed in a future release of Biopython. Its C code implementation has already been removed. Please get in touch via the mailing list if this will affect you.
Functions: splitany Split a string using many delimiters. find_anychar Find one of a list of characters in a string. rfind_anychar Find one of a list of characters in a string, from end to start.
|
|||
list of strings |
|
||
index of a character or -1 |
|
||
index of a character or -1 |
|
|
|||
__package__ =
|
|||
__warningregistry__ =
|
|
Split a string. Similar to string.split, except that this considers any one of the characters in sep to be a delimiter. If negate is true, then everything but sep will be a separator.
|
Find a character in string. chars is a list of characters to look for. Return the index of the first occurrence of any of the characters, or -1 if not found. index is the index where the search should start. By default, I search from the beginning of the string.
|
Find a character in string, looking from the end to the start. chars is a list of characters to look for. Return the index of the first occurrence of any of the characters, or -1 if not found. index is the index where the search should start. By default, I search from the end of the string.
|
|
__warningregistry__
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Jul 14 01:49:25 2010 | http://epydoc.sourceforge.net |