[Tutor] Splitting at a capital letter in a string

Douglas N. Shawhan lysdexia at crackrabbit.com
Sat Oct 30 04:45:27 CEST 2004


Is there a way to use the string module to split a string at a capital, 
so that:

HiImAStringWithCaps

is rendered

Hi Im A String With Caps

I looked at the re module, and it looks as if it could be used for such 
shenannigans...


More information about the Tutor mailing list