Conversion from Char to String

Highlighted
Nine Stars

Conversion from Char to String

Hello All 

 

Am having a trouble in converting Char/Character to String 

 

I used this below

 

String.valueOf(row1.col1)

 

But its not worked out

 

Thanks In Advance 

Manish

 


Accepted Solutions
Fifteen Stars TRF
Fifteen Stars

Re: Conversion from Char to String

Syntax looks correct.
What's happening?
Do you have any error message ?
Are you sure row1.col1 is not null?
You may also try thé following :
"" + row1.col1

TRF

All Replies
Fifteen Stars TRF
Fifteen Stars

Re: Conversion from Char to String

Syntax looks correct.
What's happening?
Do you have any error message ?
Are you sure row1.col1 is not null?
You may also try thé following :
"" + row1.col1

TRF
Nine Stars

Re: Conversion from Char to String

@TRF I don't have any nulls but am facing issues in it

Fifteen Stars TRF
Fifteen Stars

Re: Conversion from Char to String

What kind of issue ?
Do I have to guess?

TRF
Nine Stars

Re: Conversion from Char to String

That issue was because of nulls, so, i was able to fix that issue

Fifteen Stars TRF
Fifteen Stars

Re: Conversion from Char to String

As I said in a previous answer, so thanks to mark your case as solved

TRF
Nine Stars

Re: Conversion from Char to String

@TRF Thanks, this null handling is necessary for most of the string handling cases in tMap

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

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

Download