You need to sign in to do that
Don't have an account?
Hemant_Jain
Can we use LEFT(), RIGHT() and other String functions in Lightning component?
How to use string functions in lightning
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
To be clear, I didn't think there is no native javascript left() function. In lighting components, you are good to use most of the javascript string method like substring() etc.
Coming into the Prototyping which is also working in lighting components( LEFT function ).
String.prototype.left = function(n) {
return this.substring(0, n);
}