in reply to Re: replace nth occurrence of |
in thread replace nth occurrence of |

I'm parsing data in a log file of which the last data appended to the line consists of a unix command line entry. As commands submitted by the user may or may not include a |, (or any command line character) I wanted to replace my chosen delimiter within the command text with a benign value so as to not error out the bulk load to a table. By and large there will rarely be one | never mind 3, but wanted to cover my bets just in case.