|
-
February 15th, 2007, 09:43 AM
#1
Str function in VB
Hi,
I'm a beginner in VB. I tried to change an integer to string using str as below
Dim z As Integer
Dim s As String
z = 100
s = Str(z)
Combo2.AddItem (s)
when 100 is converted to string there is a space added in the start of the string.
it is " 100" instead of 100. Please let me know if there are any other functions for changing integer 100 to "100"
Regards,
Carol.
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
|