How To Remove " ?

You can talk about VB programming here

How To Remove " ?

Postby Johnny5 » Tue Apr 26, 2005 12:55 pm


is anyone know the trick to remove the double quote? kekeke
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Re: How To Remove " ?

Postby Guest » Tue Apr 26, 2005 3:45 pm

Johnny5 wrote:is anyone know the trick to remove the double quote? kekeke


please explain more about what your talking about.
Guest
 

Postby Johnny5 » Sat Apr 30, 2005 9:37 pm

hi Syxx,

is like when get text from paltalk
ex:
MyNick: the string with " quote

so, is their the trick to remove the quotation?
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Postby DeMo » Sat Apr 30, 2005 11:06 pm

Im guessing you mean vb so
Code: Select all
 
if instr(data, """") then
data = replace(data, """", "")
end if

with the quote on vb you do 2 of them to be one as a string
like this
Code: Select all
 
string = "Then John said ""Hello Bob, How are you?"""

Thats going to come out like
Then John said "Hello Bob, How are you?"
DeMo
imFiles Newbie
imFiles Newbie
 
Posts: 12
Joined: Fri Apr 29, 2005 2:52 am


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests