|
-
Jun 4th, 2002, 11:11 PM
#1
Thread Starter
Lively Member
VB String
Hi,
i have one string like this......
a=string1,string2,string3,string4,
here i don't want last comma.....
i want only
a=string1,string2,string3,string4
how can i remove that.....any body know abt it tell me....
regards,
Murugan.
-
Jun 4th, 2002, 11:13 PM
#2
a = Left$(a, Len(a)-1)
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jun 4th, 2002, 11:13 PM
#3
Frenzied Member
Err, how about...
VB Code:
'Assuming the string is "a"
If right(a,1) = "," then
a = left(a,len(a)-1)
end if
You just proved that sig advertisements work.
-
Jun 4th, 2002, 11:14 PM
#4
Frenzied Member
You just proved that sig advertisements work.
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
|