This should not be too difficult.. Some String manipulation..

Code:

CLS
BREAK ON
; PURPOSE - remove first and last char from a string
$TestStr='AzzyTest'
;Starting with
?$TestStr
;Remove First Char
$EndStr=RIGHT($TestStr,LEN($TestStr)-1)
;Check the Result
?$EndStr
;Remove the Last Char
$StartStr=LEFT($EndStr,LEN($EndStr)-1)
;Check the Result
?$StartStr

Sleep 2



HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's