+1  A: 

Its [NSString stringWithContentsOfURL]. Note: its the capital 'O' (in Of) not small 'o' as given by you. Also Its a static method so cannot be used against an object.

Prabhu Beeman
Nitpick: It's a class method. Objective-C does not have static methods. They generally serve a similar purpose, but they're not quite the same.
Chuck
yeah, you are right. that's because of my java influence :-)
Prabhu Beeman
+2  A: 

stringWithContentsofURL: is a class method, not an instance method, so you have to use it as

[NSString stringWithContentsOfURL:myURL]

or if you want to allocate it yourself, you would do:

[[NSString alloc] initWithContentsOfURL:myURL]

but then you would have to release it later

newacct
Thank you much.
Unkwntech