开发者

Finding a string in another string

Using actionscript, how do I find if the following string contains the substring assets/Wallpaper?

http://virtual.c7beta.com/assets/Wallpaper/default.jp&session_id=1fb764b01a2843763a76316a6开发者_JAVA技巧c85313a


indexOf is your friend. It tells you the first occurence of a string in another string ( and even if there is none. )

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜