AGG Software Forums
November 21, 2024, 02:29:43 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: How to concatenate string to item value  (Read 14318 times)
ccdr
Jr. Member
**

Karma: +0/-0
Posts: 71


View Profile
« on: August 09, 2018, 08:57:47 AM »

Hello
I'm going to concatenate a string say {" to certain parsed item of floating type using Expression plugin.
How to make up the expression escaping the " symbol? Should I need to explicitly cast floating type to string type?
NEW_ITEM = "{""+ITEM, correct?
Thanks
« Last Edit: August 09, 2018, 09:01:59 AM by ccdr » Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: August 09, 2018, 09:24:24 AM »

Hello,

NEW_ITEM = '{'+FLOATTOSTR(ITEM)
Logged
ccdr
Jr. Member
**

Karma: +0/-0
Posts: 71


View Profile
« Reply #2 on: August 09, 2018, 09:28:17 AM »

Hello,

NEW_ITEM = '{'+FLOATTOSTR(ITEM)
Thanks for the timely feedback.
Then how to escape the character double quote " within the single quote mark?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #3 on: August 09, 2018, 09:59:16 AM »

NEW_ITEM = '{"'+FLOATTOSTR(ITEM)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines