How to find the current page name using formula

Can you please explain how following formula is working

thisPage.ToText().Split("/").Last().Split("_").First().ToDate()