String case: Difference between revisions

Content added Content deleted
(add upper case)
 
No edit summary
Line 1: Line 1:
{{task}}
{{task}}
Demonstrates how to convert a string to UPPER CASE.
Demonstrates how to convert a string to UPPER CASE.

==[[Ada]]==
[[Category:Ada]]

with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Text_Io; use Ada.Text_Io;
procedure Upper_Case_String is
S : String := "alphaBETA";
begin
Put_Line(To_Upper(S));
Put_Line(To_Lower(S));
end Upper_Case_String;


==[[JavaScript]]==
==[[JavaScript]]==