Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send ctrl+z

Tags:

c++

string

c#

How do I convert ctrl+z to a string?

I am sending this as an AT COMMAND to an attached device to this computer.

Basically, I just to put some chars in a string and ctrl+z in that string as well.

like image 833
Alex Gordon Avatar asked Jun 15 '10 05:06

Alex Gordon


1 Answers

You can embed any Unicode character with the \u escape:

"this ends with ctrl-z \u001A"
like image 84
R Samuel Klatchko Avatar answered Oct 20 '22 15:10

R Samuel Klatchko