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
Wireless access in very large house
SBS 2003 AD, have outlook auto add user when loggin
Dell Pe1800 Server -Stop Error 7B
unable to get reply from other computers
setting flex background image
multiple physical sites with SBS 2008
pop up windows in htmlUnit, click on them
Email Attachment
Practical/ Implementation difficulties faced in C#3.0 and VS 2008
Computer reboots on Recovery console