I iTzCorky Member Licensed User Longtime User Aug 4, 2012 #1 Hey every how would you add a single quote to a text? I am doing this for a height. So 6'4" then when I try to add quotes like this I already know its going to throw an error "6'4"". I just need to add in the single quote at the end of the 4.
Hey every how would you add a single quote to a text? I am doing this for a height. So 6'4" then when I try to add quotes like this I already know its going to throw an error "6'4"". I just need to add in the single quote at the end of the 4.
mc73 Well-Known Member Licensed User Longtime User Aug 4, 2012 #2 I think you can use chr(34). Upvote 0
mc73 Well-Known Member Licensed User Longtime User Aug 4, 2012 #4 B4X: dim s as string s="6'4" & chr(34) Even, you could easily use ' twice. B4X: s="6'4''":' we write ' twice. Upvote 0
B4X: dim s as string s="6'4" & chr(34) Even, you could easily use ' twice. B4X: s="6'4''":' we write ' twice.
NJDude Expert Licensed User Longtime User Aug 4, 2012 #5 Or like this too: B4X: Dim s As String s = "6'4" & QUOTE Upvote 0