|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Strings, seg_050999
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
-- This package defines types and routines for manipulating
-- normal Ada strings
-- SFZ\x0910/26/91
with System;
package Strings is
function Insert
(S : String; Into : String; At_Char : Natural) return String;
function Insert
(S : Character; Into : String; At_Char : Natural) return String;
function Change (S : String; At_Char, To_Char : Natural; Into : String)
return String;
-- the following routines return 0 if the pattern does not occur in S;
-- otherwise they return the index of the start of the pattern in S.
function Has (Pattern, S : String; Start : Natural := 1) return Integer;
function Has (Pattern : Character; S : String; Start : Natural := 1)
return Integer;
Not_Found : exception;
function Next (Pattern, S : String; Start : Natural := 1) return Natural;
function Next (Pattern : Character; S : String; Start : Natural := 1)
return Natural;
function Last (Pattern, S : String; Start : Natural := 1) return Natural;
function Last (Pattern : Character; S : String; Start : Natural := 1)
return Natural;
function Substitute
(For_Pattern, To_Pattern : String; S : String) return String;
function Reverse_Order (S : String) return String;
function Trim (S : String) return String;
procedure Pad_Left
(S : String; T : in out String; Pad_Char : Character := ' ');
procedure Pad_Right
(S : String; T : in out String; Pad_Char : Character := ' ');
procedure Lower_To_Upper (S : in out String);
procedure Upper_To_Lower (S : in out String);
procedure Translate (From_Old, To_New : String; S : in out String);
end Strings;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1a rec1=00 rec2=01 rec3=016
[0x01] rec0=15 rec1=00 rec2=02 rec3=000
tail 0x217580276878e79491e1e 0x42a00088462060003