(50g) String inside string manipulation, UserRPL
|
10-18-2016, 07:53 AM
(This post was last modified: 10-18-2016 07:57 AM by Vtile.)
Post: #15
|
|||
|
|||
RE: (50g) String inside string manipulation, UserRPL
(10-18-2016 03:08 AM)DavidM Wrote: Here's another alternative for building a program containing a string. It shows yet another way to put the double quote in where needed: by "escaping" it. This is done by prefacing the " character with a \, which allows you to keep the following " from being interpreted as the closing quote. \ is entered as alpha-rightshift-5. It also uses the STREAM command to concatenate all the pieces together, which is a bit cleaner (and keeps you from having to count all the pieces):Oh, that is the way you need to type the backslash when using the editor.. I spend like an hour trying last evening, after I noticed these "escaped" characters from the C$ n XXX results. ... A proper programming degree would be handy to have to know what to google for. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)