How to NOT break line in string

A really silly question, but I can’t get this to be all in one line… I’m a beginner so you guys could tell me perhaps a different way to do this.

I’m assigning a few string variables to just one and putting commas between them.

nomeDoProdutoStr+", “+valorDoParecer+”, em “+parcelasEmprestimoStr+” parcelas, com taxa de “+percentualJurosStr+”%."

Output is:
APROVAÇÃO DE CONSÓRCIO - PJ
, R$ 2.250.000,00, em 1 parcelas, com taxa de .01
%.

Desired output would be:
APROVAÇÃO DE CONSÓRCIO - PJ, R$ 2.250.000,00, em 1 parcelas, com taxa de .01%.

@Gabriel_Wisniewski

Use .ToString.Trim() to remove the unwanted spaces if any
nomeDoProdutoStr.ToString.Trim()+", “+valorDoParecer.ToString.Trim()+”, em “+parcelasEmprestimoStr.ToString.Trim()+” parcelas, com taxa de “+percentualJurosStr.ToString.Trim()+”%."

Hope this may help you

Thanks

Should I use .ToString even if the variable already is a string?

@Gabriel_Wisniewski

It’s optional, use .Trim()

Thanks