|
-
July 18th, 2001, 11:31 AM
#1
Quotes
I would like to put quotes into a string. Example is I would like lets say
strMine = "Text1.text"
Result would be if Text1.text was ... some text
then strMine would equal "some text" qutoes and all
Thanks so much I know this is very easy but thank you advance for the time and help!
-
July 18th, 2001, 11:34 AM
#2
Re: Quotes
double quotes:
text1.text = ""text""
or use single quote ' doubled:
text1.text = "''text''"
or :
Text1.text = """ & "text" & """
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
July 19th, 2001, 01:07 AM
#3
Re: Quotes
Hate to bother you Cimp, but you made some mayor mistakes there with the examples:
text1.text = ""text""
' gives an error, should be
text1.text = """text"""
text1.text = "''text''"
' nice workaround 
text1.text = """ & "text" & """
' gives and error, should be
text1.text = """" & "text & """"
' actually, I think the first one is the simpelest
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
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
|