Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newSentence = passedSentence.replacingOccurrences(of: " ", with: " (randomArray[Int.random(in: 0...103)]) (randomArray[Int.random(in: 0...103)]) ")
- resultText.text = newSentence
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement