Y
Hacker News
new
|
ask
|
show
|
jobs
by
ezfe
1606 days ago
Works in Swift, which is the benefit of Swift having the most painful String API possible:
let v = "Flag: " String(v.reversed()) // Output: :galF v.count // Output: 7