"First\nSecond\nThird\n\nFourth".split(`\n`); ["First", "Second", "Third", "", "Fourth"]; // Remove empty string
Join the Discord to ask follow-up questions and connect with the community
The best chat community for professionals using React or React Native
76,281 Members