all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
11
Task/Substring-Top-and-tail/Ada/substring-top-and-tail.ada
Normal file
11
Task/Substring-Top-and-tail/Ada/substring-top-and-tail.ada
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
with Ada.Text_IO;
|
||||
|
||||
procedure Remove_Characters is
|
||||
S: String := "upraisers";
|
||||
use Ada.Text_IO;
|
||||
begin
|
||||
Put_Line("Full String: """ & S & """");
|
||||
Put_Line("Without_First: """ & S(S'First+1 .. S'Last) & """");
|
||||
Put_Line("Without_Last: """ & S(S'First .. S'Last-1) & """");
|
||||
Put_Line("Without_Both: """ & S(S'First+1 .. S'Last-1) & """");
|
||||
end Remove_Characters;
|
||||
Loading…
Add table
Add a link
Reference in a new issue