Data update
This commit is contained in:
parent
72eb4943cb
commit
4d5544505c
2347 changed files with 62432 additions and 16731 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const std = @import("std");
|
||||
pub fn main() void {
|
||||
const string = "Hello,How,Are,You,Today";
|
||||
var tokens = std.mem.split(u8, string, ",");
|
||||
var tokens = std.mem.splitScalar(u8, string, ',');
|
||||
std.debug.print("{s}", .{tokens.next().?});
|
||||
while (tokens.next()) |token| {
|
||||
std.debug.print(".{s}", .{token});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue