string.ltrim()



Removes characters (spaces by default) from the left side of a string.

Parameters
  1. Character or string value to trim (optional)

Example
pjs.define("s", { type: 'char', length: 10, initValue: ' abc ' }); s = s.ltrim(); return s; //"abc "