Count string value?

Posted by Adam on Stack Overflow See other posts from Stack Overflow or by Adam
Published on 2010-04-09T00:05:43Z Indexed on 2010/04/09 0:13 UTC
Read the original article Hit count: 643

Filed under:
|
|

Hey, Im a newbie in cocoa and I have a string and I am trying to count how long it is. I have been searching through Apples docs but I can't find anything.

NSString *word = @"word";

How would I figure out how many characters is in a string?

Thanks

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about cocoa