Unclassified NewsBoard Code Reference

UteSubstr function

UTF-8-aware string extraction method
Works like standard substr() and cuts off incomplete multibyte characters from the end

function UteSubstr ($str, $start, $len = false);

Parameters:

str
start
len  –  optional, default: false

Implementation file: unb_lib/ute-runtime.lib.php, line 328

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