- (NSString *)useAsFileName // add by shjborage Apr 18, 2012
{
NSString *strTmp = self;
strTmp = [strTmp stringByReplacingOccurre
ncesOfString:@"/" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@"\\" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@":" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@"*" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@"?" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@"\"" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@"<" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@">" withString:@" "]; strTmp = [strTmp stringByReplacingOccurrencesOfString:@"|" withString:@" "]; return strTmp; }