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 do I move a virtual machine from ESX host to HyperV without have a Virtual Center Server on the VMWare side
wildcard dns record?
Accessing Mysql tables in MS Sql 2005 and vice versa
Err1Err3 Fix
XML Displaying odd character
Delphi Age between two dates returned as year and months
Computer Suddenly Does not Recognize Wireless Network, Cannot Get Online
Other then my DNS setting on my Proxy server, do I realll need an internal DNS server for fewer than 100 workstations?
xmax (column_name for (string_value))
Error When Recovering on a Gateway Desktop