davehill1974
Technical User
Hi,
I need to get rid of whitespace and a trailing charecter return at the end of the line ive tried trim(fieldname) but just get an error. Also i believe chomp() may get rid of the charecter return. I have no idea how to use chomp() can anybody help?
Here is a snippet of the code....
function get_info()
let imei = job.js_phone_code
i changed this to...
function get_info()
let imei = trim(job.js_phone_code)
I'm guessing that I have completely got the syntax wrong, but hey i'm new to 4gl.
Thanks.
I need to get rid of whitespace and a trailing charecter return at the end of the line ive tried trim(fieldname) but just get an error. Also i believe chomp() may get rid of the charecter return. I have no idea how to use chomp() can anybody help?
Here is a snippet of the code....
function get_info()
let imei = job.js_phone_code
i changed this to...
function get_info()
let imei = trim(job.js_phone_code)
I'm guessing that I have completely got the syntax wrong, but hey i'm new to 4gl.
Thanks.