Changeset 423 for Generics/NativeGenerics/Units/GenericString.pas
- Timestamp:
- Sep 18, 2012, 8:17:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/NativeGenerics/Units/GenericString.pas
r324 r423 29 29 begin 30 30 for I := 0 to Count - 1 do 31 if (Items[I] in ['a'..'z']) then31 if (Items[I] >= 'a') and (Items[I] <= 'z') then 32 32 Items[I] := Char(Byte(Items[I]) - 32); 33 33 end; … … 38 38 begin 39 39 for I := 0 to Count - 1 do 40 if (Items[I] in ['A'..'Z']) then40 if (Items[I] >= 'A') and (Items[I] <= 'Z') then 41 41 Items[I] := Char(Byte(Items[I]) + 32); 42 42 end;
Note:
See TracChangeset
for help on using the changeset viewer.