breaks up a string into two parts called head and tail at the given position don't apply this to HTML, i.e. use stripTags() in advance Source: core/String.js, line 287