typescript-string-operations
typescript-string-operations copied to clipboard
Simple lightweight string operation library for Typescript. No jQuery required! Unit tested, works with Angular.
Hi, I have added a static `String.Contains()` method with an optional parameter of a also added `StringComparison` enum. Makes string comparisons much more C#-like.
Current implementation is the following. ```js public AppendLine(value: string) { this.Values.push('\r\n' + value); } ``` On Windows, the line separator `\r\n` is correct, but it is not correct separator on...
String.Format with "n" specifier does not respect current locale settings. In our country, there is a thousand separator " ". In your library is hardcoded thousand separator ".". Please use...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8.57.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.9.1) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [uglify-js](https://redirect.github.com/mishoo/UglifyJS) | [`3.17.4` -> `3.19.3`](https://renovatebot.com/diffs/npm/uglify-js/3.17.4/3.19.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://redirect.github.com/kulshekhar/ts-jest)) | [`29.1.2` -> `29.2.6`](https://renovatebot.com/diffs/npm/ts-jest/29.1.2/29.2.6) | [](https://docs.renovatebot.com/merge-confidence/) |...
StringBuilder.appendLine puts CRLF before the line, not after. Why would you make this decision? This is contrary to every other package out there.
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest)) | [`29.5.12` -> `29.5.14`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.12/29.5.14) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | cimg/node | docker | major | `21.6.2` -> `22.8.0` | --- ### Configuration...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`^7.1.1` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.1.1/8.3.0) | [](https://docs.renovatebot.com/merge-confidence/) |...