def removePunctuation(str: String) = {
        str.replaceAll("\\p{Punct}", "")
      }
      

      Scala language logo
      Remove punctuation in string

      Remove punctuation from a string

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.