in reply to appending to end of string
Hi!
I hope I'm misunderstanding your problem. I think that, if you need to append a pre-known string such as 2005, you don't need to use s///, but just:
$mystring .= ',2005'; [download]
Michele.