//
//  SearchUtil.h
//  SmartVIGS
//
//  Created by ITGen..
//  Copyright (c) 2013년 ITGen. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 @brief 검색 관련 기본 함수 모아놓은 클래스
 @class SearchUtil
 */
@interface SearchUtil : NSObject

#pragma mark - 검색 관련 함수
+ (NSArray *) searchTextFromArray:(NSString *)searchname
                      sourceArray:(NSArray *)sourceArray propertyname:(NSString *)propertyname middleWord:(BOOL)middleWord;
+ (NSString *) getRegularExpressionPattern:(NSString *)text;
+ (NSArray *) searchTextFromArray:(NSArray *)sourceArray searchText:(NSString *)searchtext keyInArray:(NSString *)key;
+ (NSArray *) searchTextFromArray:(NSString *)searchtext
                      sourceArray:(NSArray *)sourceArray
                     propertyname:(NSString *)propertyname
                       normalMeta:(NSString*)normalMeta
                         highMeta:(NSString*)highMeta;
@end
