开发者

Finding a string in another string

开发者 https://www.devze.com 2022-12-15 04:04 出处:网络
Using actionscript, how do I find if the following string contains the substringassets/Wallpaper? http://virtual.c7beta.com/assets/Wallpaper/default.jp&session_id=1fb764b01a2843763a76316a6开发者_

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

精彩评论

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