$string = 'http://www.whatever.html/directory/'; $string .= 'index.html' if(substr($string, -1) eq '/');
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
In reply to (bbfu) Re2: Verifying Links in HTML
by bbfu
in thread Verifying Links in HTML
by agent00013
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |