sequence generate

Five Stars

sequence generate

Hi ,

 

Can any one tell how to generate the String sequence like

A001

A002

A003

'

'

'

 

 

Any Sugesstions!


Accepted Solutions
Forteen Stars

Re: sequence generate

@psujini,please find the below screenshoot.

Untitled.pngUntitled.png

 

Expression in tMap:-

'A'+String.format("%3s", String.valueOf(Var.var1)).replaceAll(" ", "0") 

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

All Replies
Forteen Stars

Re: sequence generate

@psujini,please find the below screenshoot.

Untitled.pngUntitled.png

 

Expression in tMap:-

'A'+String.format("%3s", String.valueOf(Var.var1)).replaceAll(" ", "0") 

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Forteen Stars

Re: sequence generate

still do you have a issue?

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Five Stars

Re: sequence generate

Thank you!

its resolved

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch