[Python-bugs-list] [ python-Feature Requests-587534 ] String method: Cutoff

noreply@sourceforge.net noreply@sourceforge.net
Sat, 27 Jul 2002 15:56:24 -0700


Feature Requests item #587534, was opened at 2002-07-27 15:56
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=587534&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: PK Wong (ssfsx17)
Assigned to: Nobody/Anonymous (nobody)
Summary: String method: Cutoff

Initial Comment:
string.cutoff_front(string, i)
Takes string and cuts off the first i 
characters. Returns the shortened 
result.

string.cutoff_back(string, i)
Takes string and 
cuts off the last i characters. Returns the shortened result.

I 
was reading the documentation for the string module and did not 
see any such method. Therefore, I would like for these methods to 
be a part of the string module.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=587534&group_id=5470