Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val s = "pow(10,3) + pow(10,3) + pow(10,3)"
- pow(10,3)
- 1000
- 1000 + 1000 + 1000
- s.replaceAll("pow(10,3)", "1000")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement