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
how many computers can use one wireless router?
Error when saving a date in MS SQL...
read pdf from blob column write to file
use vb to determine a windows service LogOn AS?
Indesign CS5 overset text problem
DPM2007 - attach workgroup servers
PC to TV screen
Oracle 10 Standard Edition: what indexings does it support?
POP3 Email / Spam Issues
iPhone, how do I correctly pass data model object data between various view controllers without breaking MVC?