pub fn trimStart(comptime T: type, slice: []const T, values_to_strip: []const T) []const T T: typeslice: []const Tvalues_to_strip: []const T1202
1203
1204
1205
1206pub fn trimStart(comptime T: type, slice: []const T, values_to_strip: []const T) []const T {
var begin: usize = 0;
while (begin < slice.len and findScalar(T, values_to_strip, slice[begin]) != null) : (begin += 1) {}
return slice[begin..];
}
Remove a set of values from the beginning of a slice.