Skip to content

script kills Apostrophe (') #2

@abbood

Description

@abbood

I noticed that if my command includes an apostrophe the final output disappears ie

runcoacoa ' NSString* searchKeyword = [NSString stringWithFormat:@"searchkeyword"]; NSString* str = [NSString stringWithFormat:@"SELECT * FROM movies where title like '%%%@%%'",searchKeyword]; NSLog(@"%@",str)';

the output will look like this:

2013-01-25 09:47:07.710 runcocoa-output[20815:707] SELECT * FROM movies where title like %searchkeyword%

and i can't escape my apostrophes.. help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions