Archives of the TeradataForum
Message Posted: Fri, 08 Apr 2005 @ 15:01:16 GMT
We are trying to find a way of extracting the text string between 'ac=' and the comma after it from the string shown below in Example 1. (i.e. in Example 1, we want to extract '20')
I know we can do this using Position, and this works fine when the text we want remains at 2 characters long. But we are hitting problems when the length of the text we want is longer. (It can vary from one to 10+ characters ...)
Example 1: 'isocc=uk,cc=44,ac ,network=Openzone' Want to extract '20' Example 2: 'isocc=uk,cc=44,ac=7050,network=Openzone' Want to extract '7050' Example : 'isocc=uk,cc=44,ac=999,network=Openzone' Want to extract '999' etc.
Can we also do this using position???
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|