gettablefromurl(url)

Get the table name based on the url. Can be used to find the table name from /maindata/tablename/ and /listrecord/tablename kind of urls.

Parameters

- url : the url to read the url from