<commit_before># String

* [`leftpad`](#leftpad)
* [`rightpad`](#rightpad)
* [`pad`](#pad)
* [`trim`](#trim)
* [`split`](#split)
* [`replace`](#replace)
* [`match`](#match)
* [`test`](#test)
* [`newlines`](#newlines)
* [`capitalize`](#capitalize) 
* [`upperfirst`](#upperfirst) 
* [`template`](#template) 
* [`encodeURI`](#encodeuri) 
* [`encodeURIComponent`](#encodeuricomponent) 
* [`repeat`](#repeat) 
* [`truncate`](#truncate) 
* [`slugfy`](#slugfy) 

You can check the module import [`here`](./modules.md).

####leftpad

Returns a left-padded string.

##### File

```
import { LeftPadPipe } from 'angular-pipes/src/string/left-pad.pipe';
```

##### Usage

```html<commit_msg>Update string.md<commit_after># String

* [`leftpad`](#leftpad)
* [`rightpad`](#rightpad)
* [`pad`](#pad)
* [`trim`](#trim)
* [`split`](#split)
* [`replace`](#replace)
* [`match`](#match)
* [`test`](#test)
* [`newlines`](#newlines)
* [`capitalize`](#capitalize) 
* [`upperfirst`](#upperfirst) 
* [`template`](#template) 
* [`encodeURI`](#encodeuri) 
* [`encodeURIComponent`](#encodeuricomponent) 
* [`repeat`](#repeat) 
* [`truncate`](#truncate) 
* [`slugify`](#slugify) 

You can check the module import [`here`](./modules.md).

####leftpad

Returns a left-padded string.

##### File

```
import { LeftPadPipe } from 'angular-pipes/src/string/left-pad.pipe';
```

##### Usage

```html
{'fraction_non_alphanumeric': 0.27326007326007323, 'fraction_numerical': 0.0, 'mean_word_length': 6.631284916201118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4389302', 'n_tokens_mistral': 560, 'n_tokens_neox': 509, 'n_words': 76}