titer5.nim 202 B

1234567891011121314151617
  1. discard """
  2. file: "titer5.nim"
  3. output: "abcxyz"
  4. """
  5. # Test method call syntax for iterators:
  6. import strutils
  7. const lines = """abc xyz"""
  8. for x in lines.split():
  9. stdout.write(x)
  10. #OUT abcxyz