(50g) String inside string manipulation, UserRPL
|
10-18-2016, 03:08 AM
Post: #13
|
|||
|
|||
RE: (50g) String inside string manipulation, UserRPL
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):
Code: « |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)