Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. newSentence = passedSentence.replacingOccurrences(of: " ", with: " (randomArray[Int.random(in: 0...103)]) (randomArray[Int.random(in: 0...103)]) ")
  2.  
  3. resultText.text = newSentence
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement