- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 C#中indexof和substring函数用法
indexof() :在字符串中从前向后定位字符和字符串;所有的返回值都是指在字符串的绝对位置,如为空则为- 1string test="asdfjsdfjgkfasdsfsgfhgjgfjgdddd";test.indexof(d) =2 //从前向后 定位 d 第一次出现的位置test.indexof(d,1) =2 //从
2009-10-22 10:47:00 280
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人