NSMutableArray does not print well with several lines of string
Posted
by ahmet732
on Stack Overflow
See other posts from Stack Overflow
or by ahmet732
Published on 2010-04-21T19:31:01Z
Indexed on
2010/04/21
19:33 UTC
Read the original article
Hit count: 228
objective-c
while(sqlite3_step(compiledStatement) == SQLITE_ROW) {
NSString *araci2 = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 2)];
[dbarray addObject:araci2];
NSLog(@"DB ITEMS: %@",dbarray);
}
First of all, I try to get a description longer than a line from db. While part of the value appears meaningful, some of the characters of those values are absurd like "00fu". How can I print them in proper fashion ?
© Stack Overflow or respective owner