Harmonize Max handling between _BuildSelectionDataRefCreate and Ascii2Html

It seems that AsciiHtml used to take the regex approach for handling maximal number of chatacters, and was swichted to substr later. Do the same switch in _BuildSelectionDataRefCreate.