|
-
Dec 18th, 2003, 08:31 AM
#1
Thread Starter
Member
-
Dec 18th, 2003, 08:34 AM
#2
Hyperactive Member
dim mystring as string = Mid(cstr(Mynumbers),1,4)
back to integer
dim mynewnumbers as integer = cint(mystring)
-
Dec 18th, 2003, 08:52 AM
#3
try to avoid using Mid etc... , vb.net has some great in-built functions for those jobs.
VB Code:
Dim numb As Integer = Integer.Parse("1234567890".Substring(0, 4))
MessageBox.Show(numb)
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Dec 18th, 2003, 08:54 AM
#4
Thread Starter
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|