"Anton Melser" <[EMAIL PROTECTED]> writes: > I am trying to understand the function substring.
You haven't actually said anything that sounded surprising; and in any case, without seeing the data being operated on, we can't comment much on what's happening. I will note that '=([0-9]*)' is going to match to the *first* "=" in the string, whether there happen to be any digits after it or not, because the *-construct can match zero characters. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly