I have no clue how to do this!
What I want to be done is to have the spaces in a string be changed to plus "+" signs, but I don't know what code would be needed. Can anyone help?
Thanks in advance.
For those who want to know, here's my code:
What I want to be done is to have the spaces in a string be changed to plus "+" signs, but I don't know what code would be needed. Can anyone help?
Thanks in advance.
For those who want to know, here's my code:
Code:
- (void)connectSearch:(id)sender{
[[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:
[@"http://www.google.com/search?q=" stringByAppendingString:[searchQuery stringValue]]]]];
}