Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Find position of a character in a string - response (9) by CarlosAL

$
0
0

Dieter:
Agreed, but I was only giving another choice to the OP. I don't know the requirements and varchar sizes, and some people find it hard to deal with recursives...
The OP wanted "find out the 4th '_'" and I only showed how to do it with only one string for didactical purposes ("don't give a fish, show how to fish...")
Anyway, the long-waited 'native' strtok() is, imho, the best solution, of course.
Cheers.
Carlos.
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles