We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Expression to join string and integer

Hi,

I tried to join a string with a integer in an expression.
The result in the following expression is just the string which is located in the [Schicht] and nothing more.
Is this possbile via another function?


Thanks.
Regards,
Patrick


3 Replies

US Umapathy Shanmugam Syncfusion Team March 15, 2017 01:09 PM UTC

Hi Patrick, 
 
Thank you for contacting Syncfusion support. 
 
Yes. You need to use CONCAT function instead of adding directly through “+” operator. Kindly use the below expression to join string and integer.  
Expression:  
IF([LayerNum]=0,[Auberhalb],CONCAT([Schicht],CHAR([LayerNum]))) 
 
Please do let us know if you need any further assistance on this. 
 
Regards, 
Umapathy S. 



GK Gregory Kohle March 15, 2017 02:07 PM UTC

Hi Umapathy,

thanks for your response.
That worked.

Regards,
Patrick


US Umapathy Shanmugam Syncfusion Team March 16, 2017 05:19 AM UTC

Hi Patrick,  
 
Thanks for the update. 
 
Please let us know if you require any further assistance. 
 
Thanks, 
Umapathy S. 


Loader.
Up arrow icon