【发布时间】:2012-03-23 13:02:51
【问题描述】:
vb.net 2.0中是否有类似string range的功能??
我在这里尝试实现的是从长度未知的字符串中提取一些文本。
例如。
given string = text text text mytext1 text text text text mytext2 text text text text
expected string = mytext1 text text text text mytext2
所以我有"mytext1" 和"mytext2" 的索引。我正在寻找一种方法来获取包含在这两个字符串或索引之间的文本。
谢谢
【问题讨论】:
标签: vb.net string .net-2.0 substring