...
String modified to the new length
Example
...
Code Block | ||
---|---|---|
| ||
pjs.define("source", { type: 'char', length: 15, initValue: 'Dr. Doolittle', varying: true }); source = String.setLength(source, 2); return source; // "Dr" |
...
String modified to the new length
Example
...
Code Block | ||
---|---|---|
| ||
pjs.define("source", { type: 'char', length: 15, initValue: 'Dr. Doolittle', varying: true }); source = String.setLength(source, 2); return source; // "Dr" |