Unclassified NewsBoard Code Reference

UteExplodeQuoted function

Same as PHP function explode(), but also groups by quotes

function UteExplodeQuoted ($sep, $str, $mask_bs = true, $keep = false);

Parameters:

sep
(string) separator character, see PHP explode()
str
(string) string to split, see PHP explode()
mask_bs  –  optional, default: true
(bool) take case of \ characters, and ignore \" f.ex. [currently ignored to true]
keep  –  optional, default: false
(bool) keep the quotes around quoted parts

Return value:

(array) Array of parts

Remarks:

Attention: Highly optimised code ahead!

Implementation file: unb_lib/ute-compiler.lib.php, line 700

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.