#string escaping
1 messages · Page 1 of 1 (latest)
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
if u want help fast, u better invest time into posting a good high quality question that people won't just click away
provide the code as formatted text, not image. don't capslock. use a proper title. explain what's unclear to u
- provide the task that was given in this case
that said, u only need to escape characters that have special meaning in a string. in this case, it's only the double quote ". not the single quote
a proper ide like intellij will also automatically do everything for u if u post the original text into it
Also note that java has string blocks """... """ which allow u to skip escaping like this entirely
was it 13? been a few years already. but yeah
baeldung says 15
but dk
JEP 378 adds the language feature text blocks to Java SE 15 and later.
oracle
ofc u used me as an example
Don't ask people via direct message (DM); Q&A takes place in our server, public - nobody will steal your code
and only mutual server is together java + emccue post it himself
Closing thread...
lmao
Fascinating he left
The metaphor is like a college dorm where there is a common area where people offer help
But you found my room and knocked in a panic and I wake up like
Accurate
Yeah