contact
support
Download
order
news
AGG Software Forums
November 24, 2024, 02:21:41 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome on our forum!
Home
Help
Search
Login
Register
AGG Software Forums
>
Online Help Center
>
Data loggers and plug-ins
>
How to concatenate string to item value
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to concatenate string to item value (Read 14326 times)
ccdr
Jr. Member
Karma: +0/-0
Posts: 71
How to concatenate string to item value
«
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
Re: How to concatenate string to item value
«
Reply #1 on:
August 09, 2018, 09:24:24 AM »
Hello,
NEW_ITEM = '{'+FLOATTOSTR(ITEM)
Logged
ccdr
Jr. Member
Karma: +0/-0
Posts: 71
Re: How to concatenate string to item value
«
Reply #2 on:
August 09, 2018, 09:28:17 AM »
Quote from: Arthur Grasin on August 09, 2018, 09:24:24 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
Re: How to concatenate string to item value
«
Reply #3 on:
August 09, 2018, 09:59:16 AM »
NEW_ITEM = '{"'+FLOATTOSTR(ITEM)
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
News & Feedbacks
-----------------------------
=> News and Updates
=> Site Comments
-----------------------------
Online Help Center
-----------------------------
=> Advanced Serial Port Monitor
=> Data loggers and plug-ins
=> Data loggers ActiveX
=> Advanced USB Port Monitor
=> Virtual Null Modem
=> Software for DNC and CNC
=> Other questions
-----------------------------
Development
-----------------------------
=> Feature Requests
Loading...