hello, i know some of your may think that this question have been answered thousand time. I agree but none of the solutions given worked for me.
i have string like
what above code does is gives is "abc def" as output, what i want is "abc--------def" (where hash sign is spaces i need)
i have tried
for some reason (dot)net only takes it as one single space. check above(1) example ,i gave two spaces but it got converted to one space.
doesn't work (found char(9) solution on internet)
doesnot work
I have tried another 10 different option but none seems to be working for me.
Any help will be appreciated.
Regards
i have string like
Code:
Dim Test as String = "abc " & " def"
i have tried
Code:
Dim Test as String = "abc----" & "----def"
Code:
Dim Test as String = "abc" & Char(9) & "def"
Code:
Dim Test as String = "abc" & space(8) & "def"
I have tried another 10 different option but none seems to be working for me.
Any help will be appreciated.
Regards
Comment