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
Update method of objectdatasource is not being triggered by reorderlist
Using ColdFusion Flash Forms to change group membership/moving data from one cfgrid to another.
How can I avoid this error?
URGENT: restore a delete file!
interested in any schematic showing the proper hookups for LED wires for MSI Motherboard Model KM4M
Parallels 5 Mouse Issue
Office 2010 Virtual Drive Q
How to change Windows Vista Serial Number, without windows access?
Entourage Client on Snow Leopard connecting to Exchange.
FTP and System.Net.Sockets.Network
Stream woes