In an event instance, I set a string property like "c:\Testfile.txt". When I read the value, it becomes to "c:testfile.txt". Why the '\' is removed?
book
Article ID: KB0094319
calendar_today
Updated On:
TIBCO BusinessEvents Enterprise Edition
|
-
|
Not Applicable
|
-
|
Description
Resolution:
BE string type behaves similarly like Java string type. '\' is the escape character.
"c:\Testfile.txt" is not a valid value for Java string type. BE removes this invalid character automatically.
If you want to present a file path, we recommend you use "c:\\Testfile.txt" or "c:/Testfile.txt"
Issue/Introduction
In an event instance, I set a string property like "c:\Testfile.txt". When I read the value, it becomes to "c:testfile.txt". Why the '\' is removed?
Feedback
thumb_up
Yes
thumb_down
No