取地址前面的部分,有没有现成的函数??这有一个地址 http://localhost:8080/yuna/my/index.htm 我想得到前面部分, http://localhost:8080 有没有现成的函数??[解决办法]沙发,帮忙顶