g********r 发帖数: 187 | 1 How to decide if a string contains other string?
Thank you. |
b*****e 发帖数: 474 | 2 ( s1.indexOf(s2) >= 0 ) ? true : false
【在 g********r 的大作中提到】 : How to decide if a string contains other string? : Thank you.
|
s******e 发帖数: 63 | 3 why needs ?: here? hehe.
【在 b*****e 的大作中提到】 : ( s1.indexOf(s2) >= 0 ) ? true : false
|
e***g 发帖数: 158 | 4 that happens a lot. i think it's a fine mistake.
【在 s******e 的大作中提到】 : why needs ?: here? hehe.
|
m******t 发帖数: 2416 | 5
lol, I wouldn't have problem with it if it was written after a 15 hour day.
【在 e***g 的大作中提到】 : that happens a lot. i think it's a fine mistake.
|