Friday, June 7, 2019

Split Value of Custom Text Area Transaction Body Field into Array in SuiteScript using Line Break

This is an example of how to split value of custom Text Area Transaction Body Field into array in SuiteScript using line break.

..
var test = nlapiGetFieldValue('custbody16');
var testArray = test.split('\n');
..

No comments:

Post a Comment