SHARE
TWEET

Untitled

a guest Jun 25th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let myString = "/example/123/anotherstring"
  2.      
  3. let myString = "/example/anotherstring/123"
  4.      
  5. let expectedString = "/example/replaced/anotherstring"
  6.      
  7. let expectedString = "/example/anotherstring/replaced"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top