Inserting '-' character in front of all numbers in a string

kevinliu23 kevinliu23 at gmail.com
Fri Mar 30 18:59:37 CEST 2007


Hey guys, thanks for the quick replies. I'm looking for something more
generic than adding it to "2a 3ab". For example, under the menu option
2, there can be upwards of 8 other suboptions. I'll see what's
suggested here and post back if I run into more problems. Thanks guys!




More information about the Python-list mailing list