Ignore:
Timestamp:
Sep 18, 2012, 8:17:09 AM (12 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Generics/NativeGenerics/Units/GenericString.pas

    r324 r423  
    2929begin
    3030  for I := 0 to Count - 1 do
    31     if (Items[I] in ['a'..'z']) then
     31    if (Items[I] >= 'a') and (Items[I] <= 'z') then
    3232      Items[I] := Char(Byte(Items[I]) - 32);
    3333end;
     
    3838begin
    3939  for I := 0 to Count - 1 do
    40     if (Items[I] in ['A'..'Z']) then
     40    if (Items[I] >= 'A') and (Items[I] <= 'Z') then
    4141      Items[I] := Char(Byte(Items[I]) + 32);
    4242end;
Note: See TracChangeset for help on using the changeset viewer.