Ada Reference ManualLegal Information
Contents   Index   References   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/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;

Contents   Index   References   Search   Previous   Next 
Ada-Europe Ada 2005 and 2012 Editions sponsored in part by Ada-Europe