Warum so: (String)script.length()

bei mir funktionierte das auch ohne das "(String)"

???

PS: gib mal:
"(String)" bei google ein, mit Gänsefüßchen oder ohne!