I'm using get_next_posts_link()
for custom paging controls in a Wordpress theme. The problem is, the function returns HTML tags and some description text:
<a href="http://localhost/awebsite/page/2/" >Next Page »</a>"><span>Next</span>
All I am interested in is the URL. Is there a core function for taking just the URL? Or will I have to perform a bunch of string functions to trim down the stuff I'm returned?