Re: Split String
@George:
This procedure has a little bug!
Line:
set tmpTxt = replace(tmpTxt, concat(element,delim), '');
should be replaced with:
set tmpTxt = substring(tmpTxt, foundPos+1);
Because if input string has more than one same parts of string (for example: "1,11,12,13"), after applying your line of code this string becomes "112,13" and that is wrong! :)
BYE
Subject
Written By
Posted
December 17, 2007 09:46AM
February 20, 2008 12:29PM
Re: Split String
March 18, 2009 03:13AM
September 08, 2008 04:27AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.