The name of a parameter does not refelct its purpose.
Change the name of the parameter.
| function ExtractFirstName(Str: string): string;
|
| function ExtractFirstName(FullName: stirng): string;
|
To rename a parameter, place the cursor in any instance of the parameter and invoke Rename Parameter from the Castalia refactoring menu. Castalia will identify all instances of the parameter (including those in the interface and implementation sections) and allow you to change the name, propogating your changes as appropriate.
To finish, press Enter.
See also: Refactoring Overview, Rename Local Variable