blob: bbd50fcb1e36d5f5e99d1bf8a73ff289f027b0eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
discard """
file: "titer5.nim"
output: "abcxyz"
"""
# Test method call syntax for iterators:
import strutils
const lines = """abc xyz"""
for x in lines.split():
stdout.write(x)
#OUT abcxyz
|