10000000000581000000000059
Take note that even if the delimiter is rendered as a '|', the ASCII character value is still 5 and not the usual pipe character ASCII value (124). A good way to split the string is to first replace the 0x05 character with a pipe, like so:
var serial = nlapiGetLineItemValue('item', 'serialnumbers', line_number);serial = serial.replace(/[\x00-\x1f]/g,'|');
No comments:
Post a Comment