//
//  NSString+Tools.h
//  GSFontTools
//
//  Created by Martin Winter on 13/02/24.
//  Copyright © 2024 schriftgestaltung.de. All rights reserved.
//

NS_ASSUME_NONNULL_BEGIN

@interface NSString (Tools)

// NSString *cleanUpXML(NSString *XMLString)
@property (nonatomic, readonly) NSString *cleanedUpXMLString;

// NSString * _Nullable cleanedUpXMLFromFile(NSString * xmlPath, NSString * _Nullable queryString)
+ (nullable NSString *)cleanedUpXMLStringWithURL:(NSURL *)URL
										   XPath:(nullable NSString *)XPath;

// NSString *diffStrings(NSString *stringA, NSString *stringB);
- (NSString *)differenceWithString:(NSString *)otherString;

// NSData *deHexStr(NSString *hexdata);
@property (nonatomic, readonly) NSData *binaryDataFromHexString;

- (NSString *)stringWithFirstLower;

@end

NS_ASSUME_NONNULL_END
