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
3G/4G Sprint broadband for Dell Latitude E4300
undefined error help
college preparation ideas..
can you make scroll bars in a access subform disapear until needed
Creat a list of excel worksheets that contain a certin value
Javascript question on populating required field
Penetration testing
Supplied parameter sid is in use.
Installing TCP/IP Priners in Sysprep Deployments
Java Bluetooth Programming sending files