RosettaCodeData/Task/Reverse-a-string/Objective-C/reverse-a-string-2.m

12 lines
160 B
Mathematica
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
int main()
{
@autoreleasepool {
NSString *test = [@"!A string to be reverted!" reverseString];
NSLog(@"%@", test);
}
return 0;
}