in reply to How to remove unwanted text from elements of an array?
I downvoted this node for two reasons: 1. Your question wasn't clear (What are you trying to do?) and 2. Your post showed no effort (What have you tried?).
If you're trying to generation @array from @array1, then
would do the trick (although I have not tested it).@array = map { "INVITE:$_" } @array1;
But really, it's hard to tell, based on how vaguely your post was worded.
|
|---|