|
-
Jun 4th, 2002, 10:57 PM
#1
Thread Starter
Lively Member
String in VB
Hi,
i have one string like this......
a=string1,string2,string3,string4,
here i don't want lat comma.....how can i remove that.....any body know abt it tell me....
regards,
Murugan.
-
Jun 4th, 2002, 11:00 PM
#2
Hyperactive Member
VB Code:
dim str() as string
dim counter as integer
str = split(a,",")
for counter = 0 to Ubound(str)
debug.print Trim(str(counter))
next
-
Jun 4th, 2002, 11:15 PM
#3
A = "Bla,Bla,Blaaaa,Blablalba"
Replace A,",",""
then 'A' will be the same : "BlaBlaBlaaaaBlablalba"
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
|