select substring with field function
Posted: Thu May 18, 2006 2:25 pm
Hi all !
I try to use the field function but I don't realy understand, So this is that I want to do (from a sequential file to an other sequential file) :
EPF1.10.58op.20060514
KK.4444.5.98
I want just to return the first and fourth substring, dot . is the delimiter
result :
EPF120060514
KK98
I think I have to use the field function, may be, but I'm not familiar with could you help me
Thanks
I try to use the field function but I don't realy understand, So this is that I want to do (from a sequential file to an other sequential file) :
EPF1.10.58op.20060514
KK.4444.5.98
I want just to return the first and fourth substring, dot . is the delimiter
result :
EPF120060514
KK98
I think I have to use the field function, may be, but I'm not familiar with could you help me
Thanks