Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

How to use double quotes in a text ?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-26-2008, 09:28 PM
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default How to use double quotes in a text ?

Hi all,

I've got a quick and easy question :
How to use double quotes in a string ?

I tried the usual stuff (using backslash; using 2 doubles quotes), but it does not seems to be that.

Thank you very much for your help.

And congratulations to the developers for this great software !
Reply With Quote
  #2 (permalink)  
Old 04-27-2008, 06:24 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should use chr(34):
Code:
"This is a " & chr(34) & "double quote" & chr(34)
Or:
q = 
chr(34)
"This is a " & q & "double quote" & q
Reply With Quote
  #3 (permalink)  
Old 04-27-2008, 07:24 AM
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default

Thanks for your quick answer !
Reply With Quote
  #4 (permalink)  
Old 11-08-2011, 02:22 AM
Basic4ppc Veteran
 
Join Date: May 2011
Posts: 329
Default

In VB, we just put 2 of the double quotes in and it treats it as 1 instead of ending/starting the string.

ie" debug.write "Hello ""Jim"""
prints Hello "Jim"

Is there anyway to change it to that? It's much more convenient.
Reply With Quote
  #5 (permalink)  
Old 11-08-2011, 06:48 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

This thread is for Basic4ppc and it is from 2008. Please start a new thread for this request in the proper subforum.
__________________
Basic4android documentation
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
StringSplit and double-quotes issue Cableguy Questions (Windows Mobile) 2 07-24-2008 07:05 PM
Double clicks on a cell in a table list, possible? davidcoderlab Questions (Windows Mobile) 3 06-01-2008 03:09 PM
Dim variable c% as Double colin9876 Basic4ppc Wishlist 8 05-28-2008 02:26 PM
Stock Quotes Viewer Alex812 Share Your Creations 2 11-17-2007 09:32 AM
preventing double application launch Put Claude Questions (Windows Mobile) 3 10-02-2007 02:52 PM


All times are GMT. The time now is 03:25 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0