Answer

Use the hasPrefix message for the string object.

NSString *input = @"*welcome";

NSString *output = nil;

if([input hasPrefix:@"*"])
    output = [input substringFromIndex:1]