Remove All Whitespace in Elvish

Published on 15 January 2025 (Updated: 15 January 2025)

Welcome to the Remove All Whitespace in Elvish page! Here, you'll find the source code for this program as well as a description of how the program works.

Current Solution

use re

if (> 1 (count $args)) {
  echo "Usage: please provide a string"
  exit 1
}

if (> 1 (count $args[0])) {
  echo "Usage: please provide a string"
  exit 1
}

echo (re:replace '\s' '' $args[0])

Remove All Whitespace in Elvish was written by:

If you see anything you'd like to change or update, please consider contributing.

How to Implement the Solution

No 'How to Implement the Solution' section available. Please consider contributing.

How to Run the Solution

No 'How to Run the Solution' section available. Please consider contributing.