Get only the id from permalink

Hi,
is it possible to get only the id from $page->permalink() without the url and @ etc.?
Or have I to reduce it with normal php functions like basename()?

Cheers

Guess you mean the uuid id:

$page->uuid()->id()

1 Like

Hallo Sonja,
yes this is the same. Thanks!