Xcellerator Posted February 9, 2012 Share Posted February 9, 2012 Hi, I feel rather silly, seeing as I did once know how to do this and had it written down, but now I need to use, I've completely forgotten it... Programming my Teensy board in Arduino and I need to be able to Print some quotation marks as part of a string... I am using: Keyboard.print("TEXT HERE"); but if quotation marks are part of the string, then it ends the string that gets printed... Up until now I've used ' instead of ", so it hasn't been an issue, but now I need to use '. I know it something like, Keyboard.xxxxxx("TEXT"); , but for the life of me, I can't remember... Any help much appreciated.. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted February 10, 2012 Share Posted February 10, 2012 Hi, I feel rather silly, seeing as I did once know how to do this and had it written down, but now I need to use, I've completely forgotten it... Programming my Teensy board in Arduino and I need to be able to Print some quotation marks as part of a string... I am using: Keyboard.print("TEXT HERE"); but if quotation marks are part of the string, then it ends the string that gets printed... Up until now I've used ' instead of ", so it hasn't been an issue, but now I need to use '. I know it something like, Keyboard.xxxxxx("TEXT"); , but for the life of me, I can't remember... Any help much appreciated.. Escape characters / /" double quote // forward slash Quote Link to comment Share on other sites More sharing options...
Xcellerator Posted February 10, 2012 Author Share Posted February 10, 2012 Thank you very much! I've tried it now and it works! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.