a.indexof(p,2) error
手机用户1609988806
手机用户1609988806 2022-02-12 16:43:50
0
1
1151

Shouldn’t the return value be 9?

手机用户1609988806
手机用户1609988806

reply all(1)
逆旅行人a

image.png

Start from 0, the first time p is 6, the second time is 8; a.indexof('p',2), means starting from index 2, ignoring the ' before 2 p'

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template