let's say we have an string i, and we wanna iterator over it line by line
import std/strutils
let i = "..."
but this style of writing uses the funcion of splitLines
i.splitLines.iterrr:
map it.strip()
toseq()
but this style of writing uses the iterator of splitLines
iterrr i.splitLines:
map it.strip()
toseq()
let's say we have an string
i, and we wanna iterator over it line by linebut this style of writing uses the funcion of
splitLinesi.splitLines.iterrr: map it.strip() toseq()but this style of writing uses the iterator of
splitLines