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
LDAP query in a two way trust relationship
force website not to cache
vb.net find using conaint
Does anyone no a really good freeware Password Manager?
XPath newbie
Java Calculator Problem
outlook 2007 keeps faulting in module msoert2.dll
Kerio MailServer not geting all mails from outside
Lables printing problem using MS Word
How to display just a folder name, NOT the full folder path for open folders in the taskbar, XP Pro