Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ SELECT ENDS_WITH('test', 'test'), ENDS_WITH('testing', 'test');
+---------------------------+------------------------------+
| ENDS_WITH('test', 'test') | ENDS_WITH('testing', 'test') |
+---------------------------+------------------------------+
| 1 | 1 |
| 1 | 0 |
+---------------------------+------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ SELECT mask_last_n('ABC-123-xyz', 7);
SELECT mask_last_n('Helloṭṛ123', 9);
```
```text
+--------------------------------+
| mask_last_n('Hello你好123', 9) |
+--------------------------------+
| Hello你好nnn |
+--------------------------------+
+----------------------------------+
| mask_last_n('Helloṭṛ123', 9) |
+----------------------------------+
| Helloṭṛnnn |
+----------------------------------+
```

```sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ SELECT mask('Test123', 'ABC', 'xyz', '999');
+--------------------------------------+
| mask('Test123', 'ABC', 'xyz', '999') |
+--------------------------------------+
| Xxxx999 |
| Axxx999 |
+--------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ SELECT POSITION('ḍḍumai' IN 'ṭṛì ḍḍumai hello'), POSITION('hello',
+--------------------------------------+-------------------------------------------+
| POSITION('ḍḍumai' IN 'ṭṛì ḍḍumai hello') | POSITION('hello', 'ṭṛì ḍḍumai hello', 8) |
+--------------------------------------+-------------------------------------------+
| 5 | 13 |
| 5 | 12 |
+--------------------------------------+-------------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ SELECT REVERSE('ṭṛì ḍḍumai'), REVERSE('ḍḍumannàri');
+-----------------------+------------------------+
| REVERSE('ṭṛì ḍḍumai') | REVERSE('ḍḍumannàri') |
+-----------------------+------------------------+
| iamuḍḍ ìṛṭ | irànnaumuḍḍ |
| iamuḍḍ ìṛṭ | irànnamuḍḍ |
+-----------------------+------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ SELECT ENDS_WITH('test', 'test'), ENDS_WITH('testing', 'test');
+---------------------------+------------------------------+
| ENDS_WITH('test', 'test') | ENDS_WITH('testing', 'test') |
+---------------------------+------------------------------+
| 1 | 1 |
| 1 | 0 |
+---------------------------+------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ SELECT mask_last_n('Helloṭṛ123', 9);
```

```text
+--------------------------------+
| mask_last_n('Hello你好123', 9) |
+--------------------------------+
| Hello你好nnn |
+--------------------------------+
+----------------------------------+
| mask_last_n('Helloṭṛ123', 9) |
+----------------------------------+
| Helloṭṛnnn |
+----------------------------------+
```

```sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ SELECT mask('Test123', 'ABC', 'xyz', '999');
+--------------------------------------+
| mask('Test123', 'ABC', 'xyz', '999') |
+--------------------------------------+
| Xxxx999 |
| Axxx999 |
+--------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ SELECT POSITION('ḍḍumai' IN 'ṭṛì ḍḍumai hello'), POSITION('hello',
+--------------------------------------+-------------------------------------------+
| POSITION('ḍḍumai' IN 'ṭṛì ḍḍumai hello') | POSITION('hello', 'ṭṛì ḍḍumai hello', 8) |
+--------------------------------------+-------------------------------------------+
| 5 | 13 |
| 5 | 12 |
+--------------------------------------+-------------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ SELECT REVERSE('ṭṛì ḍḍumai'), REVERSE('ḍḍumannàri');
+-----------------------+------------------------+
| REVERSE('ṭṛì ḍḍumai') | REVERSE('ḍḍumannàri') |
+-----------------------+------------------------+
| iamuḍḍ ìṛṭ | irànnaumuḍḍ |
| iamuḍḍ ìṛṭ | irànnamuḍḍ |
+-----------------------+------------------------+
```

Expand Down
Loading