ref: 21d0ffbbf001fd209208e33503890ad6847105db dir: /strlen.c/
#include <u.h> #include <libc.h> void main() { char txt[] = "i'm here now\n"; print("len: %ld, lastchar: %c\n", strlen(txt), txt[strlen(txt)-1]); exits(nil); }