rreplace(string,old,new,count=None) - right replace
Project description
Install
github.com: pip install git+git://github.com/russianidiot/rreplace.py.git
pypi.python.org: pip install rreplace
download: python setup.py install
or setup/.setup.py develop.command
Usage
from rreplace import *
rreplace('old_old','old','new',1))
>>> 'old_new'
Tested: python 2.6, 2.7, 3+
Bug Tracker: github.com/russianidiot/rreplace.py/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rreplace-0.0.2.tar.gz
(4.6 kB
view hashes)