Sending "" in a string

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
keejay
Flowcode v5 User
Posts: 115
Joined: Tue Jul 23, 2013 10:02 am
Been thanked: 15 times
Contact:

Sending "" in a string

Post by keejay »

Hi there,

I need to send "" inside a string eg

"AT+CIPSTART=4,"TCP""

But flowcode doesnt like "" within the " " of the whole sting. How does one send " as part of the string?

Thanks

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Sending "" in a string

Post by Benj »

Hello,

You can send the " character by using the \ escape sequence character.

e.g.

"AT+CIPSTART=4,\"TCP\""

This link has more info.
https://en.wikipedia.org/wiki/Escape_sequences_in_C

keejay
Flowcode v5 User
Posts: 115
Joined: Tue Jul 23, 2013 10:02 am
Been thanked: 15 times
Contact:

Re: Sending "" in a string

Post by keejay »

Thanks Benj

George_B
Posts: 128
Joined: Wed Jul 04, 2012 11:21 pm
Location: Greece
Has thanked: 51 times
Been thanked: 19 times
Contact:

Re: Sending "" in a string

Post by George_B »

Hi, another solution is to send ASCII (Number 34 = ") using RS232 component .


:wink:


Thanks
George

Post Reply