I'm trying to do:
var data : String = www.text;
var n = data.search("[");
But I keep getting this error:
BCE0019: 'search' is not a member of 'String'.
Why can't I use the search function, it is a generic JavaScript function as shown [here][1].
[1]: http://www.w3schools.com/jsref/jsref_search.asp
↧