We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 330e34e commit a5d399fCopy full SHA for a5d399f
src/std/main.ab
@@ -42,6 +42,7 @@ pub fun lines(text: Text): [Text] {
42
43
pub fun words(text: Text): [Text] {
44
let result = [Text]
45
+ let trimmed = trim(text)
46
unsafe $IFS=\$' ' read -rd '' -a {nameof result} <<<"\${nameof text}"$
47
return result
48
}
0 commit comments