(append) and/or (string) including spaces (wish-list)

Started by ale870, July 30, 2009, 06:03:50 AM

Previous topic - Next topic

ale870

Hello,



I think it could be useful adding an option (or creating a new function) to append some strings by automatically adding spaces. For example:



(append "my" "name" "is" "ale") --> "my name is ale"



Second request:

A function to perform more sophisticated upper-case/lower-case activities:

1) only capitals.

2) Only the first letter after a specific characteer (e.g.: ".").



Thank you.
--

HPW

#1
What about:
(join '("my" "name" "is" "ale")" ")
Hans-Peter

Lutz

#2
... and this:



http://www.newlisp.org/downloads/newlisp_manual.html#title-case">http://www.newlisp.org/downloads/newlis ... title-case">http://www.newlisp.org/downloads/newlisp_manual.html#title-case

ale870

#3
@Lutz: is it a new function? I didn't notice it before!

@HPW: Thank you, but I found that solution. I was thinking that a proper function could be a "commodity". Thank you!
--