1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vfmt2: fn args, comments

This commit is contained in:
Alexander Medvednikov
2020-02-18 20:20:15 +01:00
parent 480af3f381
commit 31c1483b9d
7 changed files with 82 additions and 30 deletions

View File

@ -1145,6 +1145,8 @@ pub fn (s string) all_after(dot string) string {
return s.right(pos + dot.len)
}
pub fn (s string) after(dot string) string { return s.all_after(dot) }
// fn (s []string) substr(a, b int) string {
// return join_strings(s.slice_fast(a, b))
// }