I need to get input from user and stored it in array. For Example, if user input is like python,Html,css or python html css or python/html/css. I have to stored it in array like a[0]=python; a[1]=html; a[2]=css; it should neglect comma(,) and whitespaces and slash(/)
            Asked
            
        
        
            Active
            
        
            Viewed 95 times
        
    0
            
            
        - 
                    It will be really nice if you try to do this by yourself first. – Aamir Rind Apr 19 '13 at 10:19
- 
                    I don't know how to stored so that I posted this question. If you know answer me please. – Karthik Apr 19 '13 at 10:26
- 
                    Did my answer solve your question? Thank you. – Tim Selaty Jr. Apr 22 '13 at 05:25
1 Answers
0
            
            
        Sounds like you're trying to simply process a string into a list with multiple delimiters. A quick search revealed another similar StackOverflow question which may lead to an answer.
You might be able to accomplish what you're looking for with the "re.split()" function.
 
    
    
        Community
        
- 1
- 1
 
    
    
        Tim Selaty Jr.
        
- 599
- 4
- 6
 
    