diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-03 10:55:33 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-03 10:55:33 -0400 |
| commit | f927a585c75a20629379bcb34d1483c0ca9d8db9 (patch) | |
| tree | f070e9e64ecaf251e6708b8ce4d722f121a6d039 /src/extensions/StringExtensions.ts | |
| parent | 723c8b33ade753764d1d02b130c189fb65e20425 (diff) | |
| parent | 9b424c94d7a89950e9cf3f72e684bd15a61e87ae (diff) | |
merged with new version of master
Diffstat (limited to 'src/extensions/StringExtensions.ts')
| -rw-r--r-- | src/extensions/StringExtensions.ts | 17 |
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 |
