Is there a way to reverse the author name and put a comma bewteen the two parts?
Question
Solution
1. Import your PDF file into A-PDF Rename, Write below script in "Advanced" window:
Var
first,last:string;
p:integer;
Begin
author:=trim(author);
p:=length(author)-pos(' ',reversestring(author))+1;
first:=leftstr(author,p-1);
last:=rightstr(author,length(author)-p);
newauthor:=last+','+first;
End.
2. Run the script and you will get you wanted result, and change the author at last.
You can also rename your PDF files in this way, justfree download A-PDF Rename to have a try now!
Related products
- A-PDF Preview and Rename - Preview PDF content easily, rename PDF based on content you previewed.
- A-PDF Preview and Move - Preview content for multiple PDF files, then OCR page content to rename and define dest folder to move.
We always like improving our products based on your suggestions. Please send your feedback (or ask questions) to us in the contact page.