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,972 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.
11,128 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.