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

Notices and updates
Locked
ale870
Posts: 297
Joined: Mon Nov 26, 2007 8:01 pm
Location: Italy

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

Post by 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
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

What about:

Code: Select all

(join '("my" "name" "is" "ale")" ")
Hans-Peter

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »


ale870
Posts: 297
Joined: Mon Nov 26, 2007 8:01 pm
Location: Italy

Post by ale870 »

@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!
--

Locked