I am trying to read a long value (I will need also a String) from application.properties
file. How can I do this? The guides I found aren't so clear.
Asked
Active
Viewed 3,520 times
2
-
3Please, ad a [Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve), so we can help you out. – noiaverbale Mar 07 '19 at 08:24
-
Add more details like how you are calling ? what is the value of property? – soorapadman Mar 07 '19 at 11:49
-
1Please check this answer once https://stackoverflow.com/a/42735568/1038268 – Raghu Molabanti May 05 '20 at 19:05
1 Answers
0
I Faced the same query and "\" saved me there.
suppose you need add Value : ABCDEFGHIJKLMNOPQRSTUVWXYZ
you can write it like :
ABCDEF\
GHIJKL\
MNOPQR\
STUVWX\
YZ

Mahendranath
- 23
- 3