Quantcast
Channel: Latest Questions by lancer
Viewing all articles
Browse latest Browse all 72

search is not a member of string

$
0
0
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

Viewing all articles
Browse latest Browse all 72

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>