get legnth of string typescript code example
Example: length in typescript
var uname = "Hello world"
console.log("Length :"+uname.length) // returns the total number of characters
// including whitespace
var uname = "Hello world"
console.log("Length :"+uname.length) // returns the total number of characters
// including whitespace