I have a file at C:/tasklists.xml
.
What would be a function that returns the text of this file?
You'll want to use slurp
(ClojureDocs):
(slurp "C:\\tasklists.xml")
;; => returns string with contents of file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With