RosettaCodeData/Task/Substring-Top-and-tail/Plain-English/substring-top-and-tail.plain
2023-07-01 13:44:08 -04:00

15 lines
477 B
Text

To run:
Start up.
Demonstrate removing the first and last characters from "Rosetta Code".
Wait for the escape key.
Shut down.
To demonstrate removing the first and last characters from a string:
Slap a substring on the string.
Add 1 to the substring's first.
Write the substring on the console.
Subtract 1 from the substring's first.
Subtract 1 from the substring's last.
Write the substring on the console.
Add 1 to the substring's first.
Write the substring on the console.