view test/octave.test/string/toupper-1.m @ 2738:a243d3410229

[project @ 1997-02-25 06:56:52 by jwe]
author jwe
date Tue, 25 Feb 1997 06:57:32 +0000
parents
children
line wrap: on
line source

charset = setstr (0:127);

result = charset;

result ((toascii("a"):toascii("z"))+1) \
    = result ((toascii("A"):toascii("Z"))+1);

all (toupper (charset) == result)