You should also read the KiXtart Manual as it descibes the SUBSTR() syntax. It states specifically that the second parameter is number of characters from the left! Also, what is the lone @ doing in front of SUBSTR?
_________________________
There are two types of vessels, submarines and targets.