[jQuery] .slice() a specific number of characters?

[jQuery] .slice() a specific number of characters?


I am wondering if it is possible to use the .slice() method to keep 6
characters on the end of a URL in a href attribute, then append a new
URL to the beginning?
Or is there a better method to do this?