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
"[SOLVED] Macro to string"
tennenrishin
If a macro contains the '\' character, is there any way to make a literal string out of it?
(In my case, it is a regex input to a process, and it is to be used in a call to matches(...) (in Generate Attributes). I would like to avoid having to use "\\" instead, because the regex is also used elsewhere directly.)
Find more posts tagged with
AI Studio
MacOS
Macros
Accepted answers
All comments
MariusHelf
In the next version there will be a function macro("myMacro") which creates a literal string from the macro with the given name. You can even specify a default value which is returned if the macro is undefined:
macro("myMacro", "defaultValue")
This function will be available in RapidMiner 5.2.009.
Best,
~Marius
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups