Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Retrieve data from an attribute inside a string
achint_kumar
Hi All,
I am working on automating a manual process in order to make MINIMAL changes for running data for a new Wave/duraation etc. For that i am want to print a value from attribute inside a string. Please see example below:
I have assigned Year in YYYY variable as
YYYY=2018
When i am using generate attribute, i am setting value in a variable like:
if(Name == "Achint","Jan-[YYYY]")
In the above, RM is taking "Jan-[YYYY]" as string, although i want it to print
Jan-2018
Looking forward to hearing from you.
Find more posts tagged with
AI Studio
Generate Attributes
Accepted answers
oju987
Have you tried using the variable outside the quotation marks. Something like:
if(Name == "Achint",concat("Jan-",[YYYY]))
All comments
oju987
Have you tried using the variable outside the quotation marks. Something like:
if(Name == "Achint",concat("Jan-",[YYYY]))
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups