[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No Subject
hi sebastian
i'm looking to writing a program that take a list of char of the string
"one line\n with many word\n\n and whitespaces\n"
(#\o #\n #\e #\space #\l #\i #\n #\e #\newline #\space #\w #\i #\t #\h
#\space #\m #\a #\n #\y #\space #\w #\o #\r #\d #\newline #\newline #\space
#\a #\n #\d #\space #\w #\h #\i #\t #\e #\s #\p #\a #\c #\e #\s #\newline)
return the list of words
the base of the retun is the space and returning "" for the newline
("one" "line" "" "with" "many" "word" "" "" "and" "whitespaces" "")
and then list of line by line
( ("one" "line") ("with" "many" "word") ( ) ("and" "whitespaces") ( ))
and at the end list of the para
( (("one "line") ("with" "many" "word") ( )) (("and" "whitespaces") ( )) )
thank you
saly
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
- Follow-Ups:
- Re: your mail
- From: "Matt 'LEGO Guy' Jadud" <mjadud@cs.indiana.edu>
- No Subject
- From: Matthias Felleisen <matthias@ccs.neu.edu>