stringArrayAddPrefix
在数组里的每个组件前加内容
MEL examples
stringArrayAddPrefix( { “a”, “b”, “c” }, “>” );
,Result:, >a >b >c //
stringArrayAddPrefix( { “a”, “b”, “c” }, “___” );
,Result:, ___a ___b ___c //
string $objs[] = { “a”, “b”, “c” };
stringArrayAddPrefix( $objs, “***” );
print $objs;
***a
***b
***c
stringArrayCatenate
将2个数组合并成1个数组
string $string1[] = {“light1”, “light2”};
string s t r i n g 2 [ ] = " l i g h t 3 " , " l i g h t 4 " , " l i g h t 5 " ; s t r i n g A r r a y C a t e n a t e ( string2[] = {"light3","light4","light5"}; stringArrayCatenate( string2[]="light3","light4