1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

* builtins.substring: if "start" is beyond the end of the string,

return the empty string.
This commit is contained in:
Eelco Dolstra 2011-01-14 12:47:10 +00:00
parent d6c8b995c5
commit 9db190eb31
3 changed files with 4 additions and 2 deletions

View file

@ -17,3 +17,5 @@ substring 1 2 s
+ substring 3 0 s
+ "b"
+ substring 3 1 s
+ "c"
+ substring 5 10 "perl"