#How can this string be empty if i'm concatting it with ", "

1 messages ยท Page 1 of 1 (latest)

plush orioleBOT
#

<@&987246399047479336> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

If the string is empty before concatenating it with ", ", then the result will be just ", " as the final string.

For example:

String str = "";
str += ", ";
System.out.println(str); // Output: ", "

In this case, since the original string is empty, concatenating it with ", " will result in just ", " as the final string.

patent patio
#

if i add nothing to the array, it DOES return an empty string though

tough vortex
#

u deleted ur original message

#

does that mean this issue is resolved?

#

or do u still have a question?

patent patio
#

๐Ÿ˜ญ

shut canyon
#

/help-thread close is going to close your thread

#

but note it wont delete the thread

#

if thats what you want to achieve peepo_think

ivory pilot
sturdy musk
#

Lots of people make the same initial errors. You might be surprised how often your mistake and then solution, no matter how simple, helps someone.

boreal plover
#

The dumber your question, the more likely it'll get solved peepo_heart

patent patio
#

ill keep that in mind ๐Ÿซก