开发者

add string at beginning of each array entry

开发者 https://www.devze.com 2023-01-10 21:55 出处:网络
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[@])

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

精彩评论

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

关注公众号