JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StringUtilities.h
Go to the documentation of this file.
1
12
13#import <Foundation/Foundation.h>
14
15NS_ASSUME_NONNULL_BEGIN
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
34NSString *CreateRandomString(NSUInteger length);
35
51NSString *_Nullable CreateUrlEncodedString(NSString *_Nullable string);
52
53#ifdef __cplusplus
54}
55#endif
56
57NS_ASSUME_NONNULL_END
58
59// code: language=Objective-C
60// kate: hl Objective-C;
61// vim: set ft=objc :
NS_ASSUME_NONNULL_BEGIN NSString * CreateRandomString(NSUInteger length)
Builds a random string of the given length from a fixed sixty-four-character alphabet.
Definition StringUtilities.m:17
NSString *_Nullable CreateUrlEncodedString(NSString *_Nullable string)
Percent-encodes a string for use in a URL, allowing only alphanumerics.