Jump to content
Changes to the Jaspersoft community edition download ×

Using String tokenizer in a field


mhbashar1

Recommended Posts

I have a field which contains person's name like- Md,Tanvir,Hossain .Where the name is seperated by comma.But I want to tokenize this string to show this the follwoing way-

 

"First Name-"+string.nextToken()+"Second Name-"+string.nextToken()+"LastName-"+string.nextToken()

 

Can anybody pls tell me what code to write in expression editor for this.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...