Hi,
In einem Javascript möchte ich aus location.href den Teil bis und mit dem letzten Slash auslesen.
location.href.substr(0, location.href.lastIndexOf("/")+1)
Ob noch irgendwelche Sonderfälle abzufangen/getrennt zu behandeln wären, bitte selber überlegen.
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.