aboutsummaryrefslogtreecommitdiff
path: root/src/extensions/StringExtensions.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-17 14:55:36 -0400
committerbobzel <zzzman@gmail.com>2024-05-17 14:55:36 -0400
commit0b451af28e5aef6b749da61e8a9fcd0a840789ac (patch)
treebdee4e28ee4715b69299a8da1b615c70b6adc445 /src/extensions/StringExtensions.ts
parent8c1b420a143e4b72ec551277887c211ca6ca003b (diff)
parent38a382a03675d6a50ec7de75f05025efd093f570 (diff)
merged with new master
Diffstat (limited to 'src/extensions/StringExtensions.ts')
-rw-r--r--src/extensions/StringExtensions.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/extensions/StringExtensions.ts b/src/extensions/StringExtensions.ts
deleted file mode 100644
index 2c76e56c8..000000000
--- a/src/extensions/StringExtensions.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-function Assign() {
-
- String.prototype.removeTrailingNewlines = function () {
- let sliced = this;
- while (sliced.endsWith("\n")) {
- sliced = sliced.substring(0, this.length - 1);
- }
- return sliced as string;
- };
-
- String.prototype.hasNewline = function () {
- return this.endsWith("\n");
- };
-
-}
-
-export { Assign }; \ No newline at end of file