acs::db::nsdb-postgresql method call split (public)

 <instance of acs::db::nsdb-postgresql[i]> call split [ -dbn dbn ] \
    -string string  -split_char split_char  -element element 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: {character varying} character integer

Switches:
-dbn (optional)
-string (required)
-split_char (required)
-element (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select split(:string,:split_char,CAST(:element AS integer))}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: