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
Can I hide a rule created in a users outlook?
where can I download openwave phone simulator?
How to use a html form <select> dropdown within a MYSQL while loop table display with php
same class name in CSS
Emails not being sent or recieved
Hopefully simple question... "locking" conditional formating
Excel 2007 Slow on one spreadsheet but only on one PC
Cell Masking in Excel
Make a failover exchange 2007 server
when adding Paging VB.Net GridView disappears