Hello! I have three arrays $F1 = StringSplit(“24|42|03|24|24|03|42”, “|”) $F2 = StringSplit( “11|10|60” , “|”) $F3 = StringSplit( “42|24|03” , “|”) How can I do the following: 1. To transform an array $F1 into array $R2 = “02|01|03|02|02|03|01” – every value here is the index in $F3 of $F1 value I.e. $F1[1] = 24 – it is the second element in $F3=> $R[1] = 01. …. $F1[6] =03 – it is the third element in $F3 => $R[6] = 03 How to make a new array? 2. To substitute every value in $F1 according to following key 24=11, 42=10, 03=60 (an array will be longer, thats why IF is not comfortable) The outcome should be $R2 = “10|11|60|10|10|60|11” Thank you!