>GETWORDNUM("1234567/6543", 1,'/')
I like this better than Kevin's solution, because this will work even for strings which don't contain the slash.
>>hi all,
>>
>>the field char.type have data as 1234567/6543, i need to remove /5643
>>
>>keep 1234567
>>scan
>>replace field with new data
>>
>>endscan
>>
>>thanks