var cstr = (str as NSString).utf8String //iOS10+ or .UTF8String otherwise print(String(format: "%-15s", cstr!))