home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
das_buch
/
einfuehr
/
stupcase.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-06-07
|
472b
|
24 lines
FUNCTION StrUpCase(Str : pChar) : pChar;
VAR
INDEX : INTEGER;
BEGIN
INDEX := 0;
WHILE Str[INDEX] <> #0 DO
BEGIN
CASE Str[INDEX] OF
'ä':
Str[INDEX] := 'Ä';
'ö':
Str[INDEX] := 'Ö';
'ü':
Str[INDEX] := 'Ü';
ELSE
Str[INDEX] := UpCase(Str[INDEX]);
END;
Inc(INDEX);
END;
StrUpCase := Str;
END;