콘텐츠로 이동

componentRegistry/convert-hyphens

이 콘텐츠는 아직 번역되지 않았습니다.

function convertHyphensToUnderscores(str: string): string

Defined in: studiocms/packages/studiocms/src/componentRegistry/convert-hyphens.ts:7^

Converts all hyphens in a given string to underscores.

string

The input string containing hyphens to be converted.

string

A new string with all hyphens replaced by underscores.


function convertUnderscoresToHyphens(str: string): string

Defined in: studiocms/packages/studiocms/src/componentRegistry/convert-hyphens.ts:18^

Converts all underscores in a given string to hyphens.

string

The input string containing underscores to be converted.

string

A new string with all underscores replaced by hyphens.