MCPcopy Create free account
hub / github.com/cryptii/cryptii / removeWhitespaces

Method removeWhitespaces

src/StringUtil.js:62–64  ·  view source on GitHub ↗

* Removes Unicode whitespace characters. * @param {string} string * @return {string} String without whitespaces

(string)

Source from the content-addressed store, hash-verified

60 * @return {string} String without whitespaces
61 */
62 static removeWhitespaces (string) {
63 return this.replaceWhitespaces(string, '', true)
64 }
65
66 /**
67 * Replaces Unicode whitespace characters with U+20 space character.

Callers 4

bytesFromHexStringMethod · 0.80
bytesFromBinaryStringMethod · 0.80
inputValueDidChangeMethod · 0.80
performDecodeMethod · 0.80

Calls 1

replaceWhitespacesMethod · 0.95

Tested by

no test coverage detected