substr使用注意

substr使用时要判断起点和长度是否超过了串本身的长度,否则会抛异常

posted @ 2013-11-20 10:30  桂皮猪  阅读(181)  评论(0)    收藏  举报