Henrik Hørlück Berg 20be990fd9 Port builtins/string to Rust
- Add test to verify piped string replace exit code

Ensure fields parsing error messages are the same.

Note: C++ relied upon the value of the parsed value even when `errno` was set,
that is defined behaviour we should not rely on, and cannot easilt be replicated from Rust.
Therefore the Rust version will change the following error behaviour from:

```shell
> string split --fields=a "" abc
string split: Invalid fields value 'a'
> string split --fields=1a "" abc
string split: 1a: invalid integer
```

To:

```shell
> string split --fields=a "" abc
string split: a: invalid integer
> string split --fields=1a "" abc
string split: 1a: invalid integer
```
2023-07-27 22:00:03 -07:00
..
2023-07-27 22:00:03 -07:00
2023-07-27 22:00:03 -07:00
2023-04-16 17:46:56 +02:00
2023-07-27 22:00:03 -07:00
2023-07-27 22:00:03 -07:00
2023-04-19 01:03:16 +02:00
2023-04-19 01:03:16 +02:00
2023-07-14 20:48:56 +08:00
2023-07-14 20:48:56 +08:00
2021-10-01 03:39:43 -07:00
2023-01-14 12:58:20 -08:00
2023-04-19 01:03:16 +02:00
2023-06-19 13:45:54 -07:00
2023-04-19 01:03:16 +02:00
2023-04-16 17:46:56 +02:00
2023-04-19 01:03:16 +02:00
2023-04-16 17:46:56 +02:00
2023-04-16 17:46:56 +02:00
2023-07-11 12:05:38 -07:00
2023-02-02 19:34:47 -07:00
2023-07-27 22:00:03 -07:00
2021-09-21 18:33:14 -07:00
2023-02-02 19:34:47 -07:00
2023-04-19 01:03:16 +02:00
2023-06-17 12:14:42 -07:00
2023-04-19 22:43:36 +02:00
2022-08-21 15:02:19 -07:00
2023-04-19 22:43:36 +02:00
2023-07-27 22:00:03 -07:00
2023-07-27 22:00:03 -07:00
2023-06-04 12:18:19 -07:00
2023-06-04 12:18:19 -07:00
2023-06-17 12:14:42 -07:00
2023-06-17 12:14:42 -07:00
2023-04-19 01:03:16 +02:00
2023-04-16 17:46:56 +02:00
2023-04-19 10:35:22 +02:00
2023-07-14 20:48:56 +08:00
2023-07-14 20:48:56 +08:00
2023-02-25 16:42:45 -06:00
2023-02-02 19:34:47 -07:00
2023-07-27 22:00:03 -07:00
2023-07-27 22:00:03 -07:00
2023-03-19 16:13:41 -07:00
2023-02-09 00:37:22 +01:00
2023-02-02 19:34:47 -07:00
2023-02-03 18:55:06 +01:00
2023-04-19 22:43:36 +02:00
2023-04-19 22:43:36 +02:00
2022-12-11 10:26:39 -08:00
2022-12-04 14:48:20 -08:00
2022-08-20 23:55:18 -07:00