1 ------------------------------------------------------------------------------
3 -- GNAT RUNTIME COMPONENTS --
5 -- A D A . S T R I N G S --
10 -- This specification is adapted from the Ada Reference Manual for use with --
11 -- GNAT. In accordance with the copyright of that document, you can freely --
12 -- copy and modify this specification, provided that if you redistribute a --
13 -- modified version, any changes that you have made are clearly indicated. --
15 ------------------------------------------------------------------------------
17 package Ada
.Strings
is
18 pragma Pure
(Strings
);
20 Space
: constant Character := ' ';
21 Wide_Space
: constant Wide_Character := ' ';
23 Length_Error
, Pattern_Error
, Index_Error
, Translation_Error
: exception;
25 type Alignment
is (Left
, Right
, Center
);
26 type Truncation
is (Left
, Right
, Error
);
27 type Membership
is (Inside
, Outside
);
28 type Direction
is (Forward
, Backward
);
29 type Trim_End
is (Left
, Right
, Both
);