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
someone turned off mirroring, how do i restart it?
code to update and edit using ajax and also is should update the database
I need to turn this PHP file into a spreadsheet
FTP and System.Net.Sockets.Network
Stream woes
Page Not Found
Is it possible to have a 'used space' column in My Computer? (XP)
ColdFusion Javascript transactions
Windows 2003 R2 Components
interested in location for the CPU power connection for a MSI Motherboard Model KM4M
URGENT: restore a delete file!