I have a jasper report with a field $F{fupgrade_package_name}
so when I run my query upgrade_package_name is set to http://www.something.com/file.exe
I want to only display file.exe in the report and not the full URL.
How is this done?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use this expression:
The result will be:
And for the
url = "just_file_wout_url.txt"the result will be:For your case the expression will be: