Replace function for query language?

Hello. I’d like to set the default value of a field to the page’s UUID, but I don’t want to include the “page://” part. I see I can use {{ page.uuid }} and that’ll give me something like page://ktL4S4OIywuzbQvO, but I just want ktL4S4OIywuzbQvO. I was hoping there was a replace function for the query language like, {{ replace('page://', '', page.uuid) }}, but that’s a no-go.

Any insight?

Thanks!

page.uuid.id gives you just the uuid without the scheme

2 Likes

You’re great! Thanks @texnixe