ref: 6cef9c8e6d812216fa88288831ec8c414010c265 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); }