You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Jeff.
I have a pipelined function (in my lib package) I am using for many years.
It can be used in sql or pl/sql. Here its interface
function str2tbl (p_str clob, p_delimiter varchar2:= ',|;.', p_encloser varchar2:='"', p_low varchar2 := 'y'
, p_split number:=0, p_char varchar2:=chr(1)) return str_arr pipelined;
It seems that it does what you are looking for, although not exactly C or PHP tokenizer.
If you are interested I can submit function code.
Tokenize a string. Similar in functionality to strtok from C and PHP.
Useful in procedural code when the delimiter character(s) can change from token to token - i.e. not a fixed set of delimiters for the whole string.
I'll update with a simple implementation.
The text was updated successfully, but these errors were encountered: