`
zh_harry
  • 浏览: 99367 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
877aca81-daac-33c8-8bf9-3a886cebc6c3
自己动手写java 框架
浏览量:27201
社区版块
存档分类
最新评论

substring 陷阱

    博客分类:
  • JAVA
 
阅读更多
数据库substring(source,startIndex,length)
javascritp substring(source,startIndex,endIndex)
java substring(source,startIndex,endIndex)
c# substring(soiurce,startIndex,length)

有遇到的大家补充~
1
5
分享到:
评论
4 楼 留下的祝福 2013-08-07  
zh_harry 写道
endIndex与length容易混

通过函数名来区别:
substring(source,startIndex,endIndex)
substr(startIndex,length)
3 楼 zh_harry 2013-08-07  
endIndex与length容易混
2 楼 留下的祝福 2013-08-07  
不过陷阱在哪?
1 楼 留下的祝福 2013-08-07  
substr(startIndex,length)

相关推荐

Global site tag (gtag.js) - Google Analytics