嗯,左边怎么了? [英] Hmm, What happened to Left ?

查看:60
本文介绍了嗯,左边怎么了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


我觉得这个问题很愚蠢,但我只是去使用了左()函数
来自vb6的
才发现它没有做它在.NET下的习惯。我假设

当我想说的时候,我想要做的其他事情就是这样做


Dim Str as string

Str =" 1234"

msgbox left(str,2)


谢谢

Hi all

I feel stupid for asking this, but i just went to use the left() function
from vb6 only to find it doesnt do what it used to under .NET. Im assuming
theres something else now im meant to do when i want to say for example

Dim Str as string
Str = "1234"
msgbox left(str,2)

Thanks

推荐答案

String.SubString< ---那就是你现在所拥有的!!


- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik

" Jm" < JA ***** @ ihug.com.au>在消息中写道

news:cr ********** @ lust.ihug.co.nz ...
String.SubString <--- That''s what u got now !!

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik
"Jm" <ja*****@ihug.com.au> wrote in message
news:cr**********@lust.ihug.co.nz...
大家好
<我觉得这个问题很愚蠢,但我只是从vb6使用left()函数来发现它并没有像在.NET下那样做。我假设现在还有其他的东西,我想说的时候我想说的是

Dim Str as string
Str =" 1234"
msgbox left( str,2)

谢谢
Hi all

I feel stupid for asking this, but i just went to use the left() function
from vb6 only to find it doesnt do what it used to under .NET. Im assuming
theres something else now im meant to do when i want to say for example

Dim Str as string
Str = "1234"
msgbox left(str,2)

Thanks



啊,谢谢Sahil,虽然有点不同但很容易使用。


谢谢


" Sahil Malik" <共***************** @ nospam.com>在消息中写道

news:Oe ************** @ TK2MSFTNGP12.phx.gbl ...
Ah thanks Sahil, a little different but easy to use nonetheless.

Thanks

"Sahil Malik" <co*****************@nospam.com> wrote in message
news:Oe**************@TK2MSFTNGP12.phx.gbl...
String.SubString< ---那就是你现在所拥有的!!

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik

" Jm" < JA ***** @ ihug.com.au>在消息中写道
新闻:cr ********** @ lust.ihug.co.nz ...
String.SubString <--- That''s what u got now !!

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik
"Jm" <ja*****@ihug.com.au> wrote in message
news:cr**********@lust.ihug.co.nz...
大家好吧

我对于这个问题感到愚蠢,但我只是从vb6使用left()
函数,却发现它并没有像在.NET下那样做。 Im
假设当我想说的时候我现在意味着什么呢?

Dim Str as string
Str =" 1234"
msgbox left( str,2)

谢谢
Hi all

I feel stupid for asking this, but i just went to use the left() function from vb6 only to find it doesnt do what it used to under .NET. Im assuming theres something else now im meant to do when i want to say for example

Dim Str as string
Str = "1234"
msgbox left(str,2)

Thanks




Jm,


它仍然是Net Framework的一个完整的连续部分,以及

所有这些方法。

http:// msdn。 microsoft.com/library/de...rykeywords.asp

我希望这有帮助吗?


Cor

" Jm" < ja ***** @ ihug.com.au>
Jm,

It is still there as a full continious part of the Net Framework, as well as
all these methods.

http://msdn.microsoft.com/library/de...rykeywords.asp

I hope this helps?

Cor

"Jm" <ja*****@ihug.com.au>
我觉得这个问题很愚蠢,但我只是去使用left()函数
来自vb6只发现它没有做它在.NET下的习惯。我假设现在还有其他的东西,我想说的时候我想说的是

Dim Str as string
Str =" 1234"
msgbox left( str,2)

I feel stupid for asking this, but i just went to use the left() function
from vb6 only to find it doesnt do what it used to under .NET. Im assuming
theres something else now im meant to do when i want to say for example

Dim Str as string
Str = "1234"
msgbox left(str,2)

Thanks



这篇关于嗯,左边怎么了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆