How should I concatenate base64 strings in order to get rid of the "=" characters ?
I sent a byte stream[] of data from the servlet as a http response, and at the client side I want to open the pdf viewer. But, I can't view it because of these extra characters.
I tried to concatenate with +=, with join, with concat, but I still have the = character at the end of each substring.
Maybe if there's a way to concat the strings without the last character.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…