Microsoft
Software
Hardware
Network
Question : split string
Hi,
Please provide shortest solution, no loops.
I have a list with specified positions where I want to cut a string. How can I convert the string to a list?
E.g.
stringexample = samwants2go2nyc'
positions = [3,8]
the required output would be:
['sam','wants','2go2nyc']
Thanks a lot python wizards!
Answer : split string
Notice that the positions can be any sequence of numbers -- here also a tuple.
Random Solutions
Android 2.2 on SBS 2008
Intel dual ethernet card gigabit
Can I send mp3s to my iPhone ?
Insert Image Link Adobe Flash CS4
Can't Ping DC with name
Do I have a kernel for using multiprocessor, yes, or no?
Web Content Filtering Recommendations
SCCM Multiple Disks n OSD Deployment
access MySQL via windows
How to determine cygwin version?