Jump to content
JasperReports Library 7.0 is now available ×
  • Substring Function


    sthomas_3
    • Product: JasperReports® Library

    Issue Description

    I have a string like "ASIA PACIF/AA0621 /A42/A/S " . But I want to retrieve only "A42/A/S ". How can I get the string from right until character (" /")?

    Resolution

    Suppose you store the string in a variable. then you can apply like below: $V{Variable_1}.substring($V{Variable_1}.length()-8)

    Ref. Case 00064152


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...