const splitLines = (str: string) => str.split(/\r?\n/);
      
      Typescript language logo

      Split lines

      Codiga's TypeScript Recipes

      Splits a multiline string into an array of lines.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.