0
Swift- Using String with ternary Operator
Why cant i use a string in an ternary Operator like this: username == "Admin"? print("Hello, Admin") : print("Hello, Stranger!") or better.. how can i fix it? -z77
1 Answer
0
You may just need a space in between âAdminâ and ?