Format string as machine compatible key
This snippet converts a “dirty” string that may contain special characters into a machine compatible nice looking string.
That function works fine for creating urls or ID keys.
Comments are closed.
This snippet converts a “dirty” string that may contain special characters into a machine compatible nice looking string.
That function works fine for creating urls or ID keys.