Devuelve el trozo de la ristra Source comprendido entre Low y High. Lanza Index_Error si Low > Length (Source) o High > Length(Source). El rango de posiciones de la ristra resultante es Low .. High. El resultado es de tipo String (ristra de tamaño fijo).
function Slice (Source : in Ristra; Low : in Positive; High : in Natural) return String; Ristra ::= Unbounded_String | Bounded_String
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; ... R1, R2 : Unbounded_String; ... R1 := To_Unbounded_String ("Escuela Universitaria de Informática"); R2 := To_Unbounded_String (Slice(R1, 9, 19)); -- R2 = "Universitar"