????????????javaС??
???????????? ???????[ 2014/10/24 10:42:47 ] ????????Java ???????
??????????????????????????instr??substr??????????н????????????????????????????????????????????????????????
??????????substr?????????????????????????????????
????substr(string??start??length)
????????string??????????????????????????????
????start????????????????λ????????????????????????????????????????????????λ??????????????????????β?????λ??????0????????????е???????????????
????length??????????????????????????????? start ?????????λ????????????????????????????????????λ??????????????????
????????????
????substr("Hello World!"??2??1)???????e
????substr("Hello World!"??2)???????ello World!
????substr("Hello World!"??-2??1)???????d
????substr("Hello World!"??-2??-1)???????d!
????instr( string1?? string2?? start_position??nth_appearance ) ????????????????????????????е?λ?á?
????string1??????????????????в????
????string2???string1?в????????? ??
????start_position????????λ?á?
????nth_appearance????????????γ????string2. ????????????????????? 1.???????????????
????????????
????instr("Hello World!"??"o")???????5
????instr("Hello World!"??"o"??1??2)???????8????????£???仰????"o"????????????λ??????????????“o”?????λ?á?
?????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11