pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
String Parsing Functions

String Parsing Functions - 0.0.3

Michael (elementsigma)

Tags:

Description

Includes *ParseString2List **Takes a string and cuts a string into a list by a seperator ***Example - "This is a test"," " - ['This','is,'a','test'] *GetSubString **Takes a string and gets a slice from start to end ***Example - "This is a test",0,3 - "This" *Replace **Takes a string and replaces a part by replacer ***Example - "This is a test"," ","_" - "This_is_a_test"

Changes

Includes *ParseString2List **Takes a string and cuts a string into a list by a seperator ***Example - "This is a test"," " - ['This','is,'a','test'] *GetSubString **Takes a string and gets a slice from start to end ***Example - "This is a test",0,3 - "This" *Replace **Takes a string and replaces a part by replacer ***Example - "This is a test"," ","_" - "This_is_a_test"

Links

Home Page: http://scriptfoo.net/
Source: http://www.scriptfoo.net/PythonFilez/Parsing.py

Releases

String Parsing Functions - 0.0.3 - Oct 6, 2006

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

October 6, 2006 10:11am - Peter Nosgoth - nickname: (nightwishphantom)
I, too, would advice you to take a closer look at
http://docs.python.org/lib/string-methods.html
and
http://docs.python.org/tut/node5.html#SECTION005120000000000000000
This may be frustrating to you but you would not be the first to have rewritten functions that already exist :D
October 6, 2006 9:35am - Marcus von Appen - nickname: (marcusva) - 2/5
What is the outstanding feature which can not be fulfilled by string.split(), string.replace() and my_str[x:y]?

spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Dec 16, 2014


Dec 14, 2014

Dec 9, 2014

Dec 6, 2014

Dec 5, 2014

Dec 3, 2014

Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)