From Thursday, July, 9, 3:00 PM Pacific,
our Community site will be in
read-only mode
through Sunday, July 12th.
Thank you for your patience.

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
Highlighted
Sixteen Stars
Sixteen 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

View solution in original post


All Replies
Highlighted
Sixteen Stars
Sixteen 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

View solution in original post

Highlighted
Nine Stars

Re: Conversion from Char to String

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

Highlighted
Sixteen Stars
Sixteen Stars

Re: Conversion from Char to String

What kind of issue ?
Do I have to guess?

TRF
Highlighted
Nine Stars

Re: Conversion from Char to String

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

Highlighted
Sixteen Stars
Sixteen Stars

Re: Conversion from Char to String

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

TRF
Highlighted
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 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog