"""String helpers used by the original Lyntin modules, with Python 3 text."""
from string import *
def join(sequence, separator=' '): return separator.join(sequence)
def split(text, separator=None, maxsplit=-1): return text.split(separator,maxsplit)
def strip(text, chars=None): return text.strip(chars)
def rstrip(text, chars=None): return text.rstrip(chars)
def lstrip(text, chars=None): return text.lstrip(chars)
def replace(text, old, new, count=-1): return text.replace(old,new,count)
def lower(text): return text.lower()
def upper(text): return text.upper()
def find(text, sub, *args): return text.find(sub,*args)
def rfind(text, sub, *args): return text.rfind(sub,*args)
def count(text, sub, *args): return text.count(sub,*args)
def atoi(text, base=10): return int(text,base)
def atof(text): return float(text)
