![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 26 Apr 2006 @ 14:54:32 GMT
I'll show you how to find the second blank's position, OK?
sel '(TCP/IP) 0F55 111.186.14.52 ABCD 14722 WORD3 APPL5 01 LSS'
SOME_STRING,
position (' ' in SOME_STRING) FIRST_BLANK_IDX,
substring(SOME_STRING from FIRST_BLANK_IDX + 1) SOME_STRING_1,
position (' ' in SOME_STRING_1) + FIRST_BLANK_IDX SECOND_BLANK_IDX ;
Regards, Victor
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||