Welcome!
Log In
Create A New Profile
Home
>
WinDev Forum
> Topic
Advanced
[WD24] - Including quotes in a string
Posted by
JP
Forum List
Message List
New Topic
JP
[WD24] - Including quotes in a string
April 29, 2020 12:48PM
Registered: 5 years ago
Posts: 234
Hi All
I'm having a dim moment. I want to create a string like this:
MyVar is string = "HyperLink( "www.test.com" )"
which obviously doesnt work. What do i need to do to correct it? Forgotten ...
Reply
Quote
Argus
Re: [WD24] - Including quotes in a string
April 29, 2020 01:32PM
either playing with doubling tripling quadrupling quotes, or simply use caract(34)
Reply
Quote
JP
Re: [WD24] - Including quotes in a string
April 29, 2020 01:39PM
Registered: 5 years ago
Posts: 234
Yup, I found it. Double quotes where required.
Cheers!
Reply
Quote
MDP
Re: [WD24] - Including quotes in a string
April 30, 2020 03:45PM
You can also use multiline [ ] without escaping the double quote.
-- [
doc.windev.com
]
Info([
Hello "World"
])
Reply
Quote
JP
Re: [WD24] - Including quotes in a string
May 01, 2020 06:54AM
Registered: 5 years ago
Posts: 234
Cool, MDP. Thats also an easy solution. Thanks
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Author:
Your Email:
Subject:
Help information
BBcode help
Smileys help
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
[Please, enable JavaScript to see the code]
Enter code:
Message:
[Please Enable JavaScript]