Ada Reference Manual (Ada 2022) — Legal Information

# A.4.1 The Package Strings

1
The package Strings provides declarations common to the string handling packages.

#### Static Semantics

2
The library package Strings has the following declaration:
3/5
package Ada.Strings
with Pure is
4/2
Space : constant Character := ' ';
Wide_Space : constant Wide_Character := ' ';
Wide_Wide_Space : constant Wide_Wide_Character := ' ';
5
Length_Error, Pattern_Error, Index_Error, Translation_Error : exception;
6
type Alignment is (Left, Right, Center);
type Truncation is (Left, Right, Error);
type Membership is (Inside, Outside);
type Direction is (Forward, Backward);
type Trim_End is (Left, Right, Both);
end Ada.Strings;

Ada 2005 and 2012 Editions sponsored in part by Ada-Europe