string: add trim_prefix and trim_suffix

This commit is contained in:
Swastik Baranwal 2020-05-15 23:07:14 +05:30 committed by GitHub
parent 5d0cc0944e
commit 04744a5390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 0 deletions

2
.gitignore vendored
View file

@ -15,6 +15,7 @@
*.lib
*.bak
a.out
.noprefix.vrepl_temp
# ignore v build files
/v.c
@ -22,6 +23,7 @@ a.out
/v.c.out
.vrepl_temp.v
fns.txt
.noprefix.vrepl_temp.v
# ignore temp directories
/temp