set-nth

Started by eddier, December 10, 2003, 12:06:48 PM

Previous topic - Next topic

eddier

(nth pos str)

gets a character a position pos in a string str



should



(set-nth 1 "abcd" "k") => "akcd"



?



Eddie

Lutz

#1
sounds reasonable, this should also work:



(set-nth 1 "abcd" (append $0 $0)) => "abbcd"



may be to late for 7.4.0 but for 8.0



Lutz