how is the url name convention in modern pages constructed sharepoint online ?

nellie 126 Reputation points
2021-02-18T18:13:54.537+00:00

When I create a new modern page , I put the title hello world you'r a good programmer and publish it
it creates the page name hello-world-you'r-a-good-programmer.aspx

Does anyone have the full algorithm in c# to give you the page name based on a title ?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,071 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,523 questions
{count} votes