Table of Contents

Module: stringfns Bio/Tools/stringfns.py

This provides useful general functions for working with strings.

Functions: split Split a string using many delimiters. starts_with Check whether a string starts with another string.

Functions   
split
starts_with
  split 
split (
        s,
        sep=" \011\012\013\014\015",
        maxsplit=None,
        negate=0,
        )

split(str [,sep [,maxsplit [,negate]]]) -> list of strings

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.

  starts_with 
starts_with ( s,  start )

starts_with(s, start) -> 1/0

Return whether s begins with start.


Table of Contents

This document was automatically generated on Sat Jul 7 09:50:16 2001 by HappyDoc version r1_5