The Package Strings
Author: JTC1/SC22/WG9/ARG, by Randall Brukardt, ARG Editor

Contents Index Search Previous Next

# 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
`package Ada.Strings is
pragma Pure(Strings);`
4
`Space : constant Character := ' ';
Wide_Space : constant 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;`

Contents Index Search Previous Next Legal