Files
lix/tests/unit/libutil
Raito Bezarius da37164630 libutil/strings: add partitionString
This partitions a string into two parts based on the first occurrence of
the separator.

This function handles the case when the separator never occur in the
target string by returning an optional<T> in the second argument of the
pair.

Change-Id: I9ad44375dbaa137a4d21d2408bc2ffa34fab62a7
Signed-off-by: Raito Bezarius <raito@lix.systems>
2026-03-03 20:54:08 +00:00
..
2024-11-18 12:31:19 -08:00
2024-11-18 12:31:19 -08:00
2024-11-18 12:31:19 -08:00
2025-04-03 18:40:06 -07:00
2024-11-18 12:31:19 -08:00
2025-04-24 13:48:15 +00:00
2025-05-19 15:35:52 +02:00
2024-11-18 12:31:19 -08:00
2024-11-18 12:31:19 -08:00
2024-11-18 12:31:19 -08:00
2024-03-26 16:44:04 -07:00
2024-11-18 12:31:19 -08:00
2025-12-15 22:42:31 +01:00
2026-03-03 20:54:08 +00:00
2024-11-18 12:31:19 -08:00
2024-11-18 12:31:19 -08:00
2024-11-18 12:31:19 -08:00