mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
20 lines
499 B
Mathematica
20 lines
499 B
Mathematica
|
//
|
||
|
// NSData+ows_StripToken.m
|
||
|
// Signal
|
||
|
//
|
||
|
// Created by Frederic Jacobs on 14/04/15.
|
||
|
// Copyright (c) 2015 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "NSData+ows_StripToken.h"
|
||
|
|
||
|
@implementation NSData (ows_StripToken)
|
||
|
|
||
|
- (NSString*)ows_tripToken {
|
||
|
return [[[NSString stringWithFormat:@"%@", self]
|
||
|
stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"<>"]]
|
||
|
stringByReplacingOccurrencesOfString:@" " withString:@""];
|
||
|
}
|
||
|
|
||
|
@end
|