Microsoft.VisualBasic.Left函数 [英] Microsoft.VisualBasic.Left Function
问题描述
我知道我可以使用Microsoft.VisualBasic.Left函数来获取字符串的左边部分,但我宁愿避免使用任何
Microsoft。 VisualBasic命名空间项。什么是VB.Net中的等价物
2005?
谢谢
格雷格
字符串的.SubString方法
" Greg" < gj ****** @ COMCAST.NETwrote in message
news:eE ************** @ TK2MSFTNGP04.phx.gbl ...
>我知道我可以使用Microsoft.VisualBasic.Left函数获取字符串的左边部分,但我宁愿避免使用任何字符串
Microsoft.VisualBasic命名空间项。什么是VB.Net
2005中的等价物?
谢谢
Greg
"格雷格" < gj ****** @ COMCAST.NETschrieb
我知道我可以使用Microsoft.VisualBasic.Left函数来获取
留下一部分字符串,但我宁愿避免使用任何
Microsoft.VisualBasic命名空间项。什么是
VB.Net 2005中的等价物?
String有一个SubString方法。
Armin
" Greg" ; < gj ****** @ COMCAST.NETschrieb:
>我知道我可以使用Microsoft.VisualBasic.Left函数来获得左边的
字符串的一部分,但我宁愿避免使用任何
Microsoft.VisualBasic命名空间项。什么是VB.Net中的等价物
2005?
为什么要在不实际使用VB的情况下使用VB?
''字符串提供粗略的等价物.Substring''方法。
-
MS Herfried K. Wagner
MVP< URL:http:// dotnet.mvps.org/>
VB< URL:http://dotnet.mvps.org/dotnet/faqs/>
I know I can use the Microsoft.VisualBasic.Left function to get the left
portion of a string, but I would prefer to avoid using any
Microsoft.VisualBasic namespace items. What is the equivilant in VB.Net
2005?
Thank You
Greg
The .SubString method of the string
"Greg" <gj******@COMCAST.NETwrote in message
news:eE**************@TK2MSFTNGP04.phx.gbl...>I know I can use the Microsoft.VisualBasic.Left function to get the left
portion of a string, but I would prefer to avoid using any
Microsoft.VisualBasic namespace items. What is the equivilant in VB.Net
2005?
Thank You
Greg
"Greg" <gj******@COMCAST.NETschriebI know I can use the Microsoft.VisualBasic.Left function to get the
left portion of a string, but I would prefer to avoid using any
Microsoft.VisualBasic namespace items. What is the equivilant in
VB.Net 2005?The String has a SubString method.
Armin
"Greg" <gj******@COMCAST.NETschrieb:>I know I can use the Microsoft.VisualBasic.Left function to get the left
portion of a string, but I would prefer to avoid using any
Microsoft.VisualBasic namespace items. What is the equivilant in VB.Net
2005?Why would you want to use VB without actually using it?
A rough equivalent is provided by the ''String.Substring'' method.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
这篇关于Microsoft.VisualBasic.Left函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!