let someValue: any = "this is a string";

let strLength: number = (someValue).length;