RosettaCodeData/Task/Substring-Top-and-tail/Microsoft-Small-Basic/substring-top-and-tail.basic
2023-07-01 13:44:08 -04:00

4 lines
327 B
Text

string = "Small Basic"
TextWindow.WriteLine(Text.GetSubTextToEnd(string, 2)) 'Without the first character
TextWindow.WriteLine(Text.GetSubText(string, 1, Text.GetLength(string) - 1)) 'Without the last character
TextWindow.WriteLine(Text.GetSubText(string, 2, Text.GetLength(string) - 2)) 'Without the first and last characters