trimmed=\$(echo -e "\${string}" |  sed -e 's/^[[:space:]]*//' | sed -e 's/[[:space:]]*\$//')
      
      Shell language logo

      string trim

      Shell public recipes

      Shortcut: string.trim

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.