开发者

add string at beginning of each array entry

For example, I have a=(1 2 3) and I want to get a=(foo1 foo2 foo3)开发者_JAVA技巧. What would be an easy/clean way to get that?


a=(foo$^a[@])

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜