W
W
WarmyxPro2022-02-11 11:53:46
Node.js
WarmyxPro, 2022-02-11 11:53:46

Combining multiple strings into one VK-IO??

Hello everyone, I am writing a bot on NODE.JS, I received a response from vk-api but it comes in this format:
STRING
STRING
STRING ....
I need to do this STRING, STRING, STRING

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stas Ostrovsky, 2022-02-12
@Ostrovsky_Miroslav

good evening, for example:
const testBook = "
STRING
STRING
STRING";
console.log(testBook.split("\n"))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question