On 2019-08-29 15:05, Wayne Campbell wrote: > Also, you have the parameters reversed. It should be SUBSTR("@$",xs$). Thanks I had already fixed the first problem but accidentally sent the wrong code. The parameter order however eluded me, sometimes I think I am a bit dyslexic. Charlie