Initial import

This commit is contained in:
Andreas Rumpf 2008-06-22 16:14:11 +02:00
commit 405b86068e
324 changed files with 163599 additions and 0 deletions

16
tests/tstrutil.nim Executable file
View file

@ -0,0 +1,16 @@
# test the new strutils module
import
strutils, io
proc testStrip() =
write(stdout, strip(" ha "))
proc main() =
testStrip()
for p in split("/home/a1:xyz:/usr/bin", {':'}):
write(stdout, p)
main()
#OUT ha/home/a1xyz/usr/bin