Hello,
Would someone push me in the right Direction. I have a Line String and need to extract only certain fields (Tokens) from the Line String. Have been trying to use STRTOK; but the Procomm 4.8 Examples did not make it clear.
My Example:
555-1212 555-1212 0010231931G 4 Tip/Ring Open Failed
555-1213 555-1213 0010231912E 3 Tip/Ring Open Failed
555-1214 555-1214 0020241831G 2 Tip/Ring OK Passed
555-1215 555-1214 0050211945A 1 ADSL OK Passed
All fields are seperated by 1 or more Spaces and there may or not be a Forward Slash. I only want to extract the 1st 2nd and 6th Fields.
Thanks
Hank
Would someone push me in the right Direction. I have a Line String and need to extract only certain fields (Tokens) from the Line String. Have been trying to use STRTOK; but the Procomm 4.8 Examples did not make it clear.
My Example:
555-1212 555-1212 0010231931G 4 Tip/Ring Open Failed
555-1213 555-1213 0010231912E 3 Tip/Ring Open Failed
555-1214 555-1214 0020241831G 2 Tip/Ring OK Passed
555-1215 555-1214 0050211945A 1 ADSL OK Passed
All fields are seperated by 1 or more Spaces and there may or not be a Forward Slash. I only want to extract the 1st 2nd and 6th Fields.
Thanks
Hank