changes
This commit is contained in:
parent
3ccd4786f8
commit
d48ebab82e
|
@ -397,12 +397,13 @@ Function JustFileName (Str: String) : String;
|
||||||
Var
|
Var
|
||||||
Temp : Byte;
|
Temp : Byte;
|
||||||
Begin
|
Begin
|
||||||
Temp := Pos ('.', Str);
|
|
||||||
|
|
||||||
If Temp > 0 Then
|
|
||||||
Delete (Str, Temp, Ord(Str[0]));
|
|
||||||
|
|
||||||
Result := Str;
|
Result := Str;
|
||||||
|
|
||||||
|
For Temp := Length(Result) DownTo 1 Do
|
||||||
|
If Result[Temp] = '.' Then Begin
|
||||||
|
Delete (Result, Temp, 255);
|
||||||
|
Break;
|
||||||
|
End;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Function JustFileExt (Str: String) : String;
|
Function JustFileExt (Str: String) : String;
|
||||||
|
|
Loading…
Reference in New Issue