You can use the `mitems` proc. you should read lib/system.nim and familiarise 
yourself with the available procs.
    
    
    var lines = s.splitLines
    for line in lines.mitems:
        line = line.strip
    

Reply via email to