JScript, string length
What I can use in "Microsoft JScript" instead length()
with string. String class does not have Method length开发者_运维技巧()
or I did't find. What a best way to get string length?
There should be a length property you can use. Note that it's not a method, but a property, so you call it via myStr.length
, not myStr.length()
(no parentheses).
精彩评论