您好,我试图让我的串出的部分,并想知道如果有人能帮助所以这是我与vb.net操纵
Dim tempName, NewName As String
'This is an example of what tempName will Equal
'What I need is the information in between the first -
'and the second one. In this case it would be 120
'I can not do it by number because the dashes are the only thing
'that stays the same.
tempName = "3-120-12-6"
NewName = tempName 'Do not know what String Manipulation to use.
工作的另一个几个例子是6- 56.5-12-12我需要56.5或2-89-12-4我需要89 谢谢你的帮助。
阅读[分割函数(Visual Basic)](http://msdn.microsoft.com/en-us/library/6x627e5f(v = VS.90)的.aspx)。 – PakkuDon 2014-09-03 01:42:48