Abyssal
2007-06-25 18:04:01
function MakeFirstCapital(ItemName: string): string;
begin
Result:= (Uppercase(Copy(ItemName, 0, 1)));
Delete(ItemName, 1, 1);
Result:= Result + ItemName;
end;
So, if the user inputs their log type as 'yew' and you try to search for that, in the UpText, and it is uppercased ("Yew") then you can use this to avoid it!
Yea… :O