const removeWhitespace = (str: string) => str.replace(/\s+/g, '');
      
      Typescript language logo

      Remove whitespace in string

      Codiga's TypeScript Recipes

      Returns a string with whitespaces removed.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.