Posts

Showing posts with the label string format camel case

javascript : String.toPascalCase()

  javascript : String .toPascalCase() Target: Applicable with  String  Data Type. Description : convert string to a single word in camel case format. Every words first letter in capital letter. Note: convert into PascalCase from camelCase, snake_case and kebab-case. Syntax: String .toPascalCase() Usase: " hello     how     are     you ? ".toPascalCase() It return string "HelloHowAreYou?" "hello-how-are-you-?".toPascalCase() It return string "HelloHowAreYou?" "hello_how_are_you_?".toPascalCase() It return string "HelloHowAreYou?" "helloHowAreYou?".toPascalCase() It return string "HelloHowAreYou?" Download MYJS.js Include in you project landing page (master page) and it will extends your DOM and JavaScript Objects.

javascript : String.toKebabCase()

  javascript : String .toKebabCase() Target: Applicable with  String  Data Type. Description : convert string to a single word in kebab-case format. Every words separated by '-'. Note: convert into kebab-case from PascalCase, snake_case and camel-case. Syntax: String .toKebabCase() Usase: " hello     how     are     you ? ".toKebabCase() It return string "hello-how-are-you-?" "helloHowAreYou?".toKebabCase() It return string "hello-how-are-you-?" "hello_how_are_you_?".toKebabCase() It return string "hello-how-are-you-?" "HelloHowAreYou?".toKebabCase() It return string "hello-how-are-you-?" Download MYJS.js Include in you project landing page (master page) and it will extends your DOM and JavaScript Objects.

Javascript : String.toCamelCase()

  Javascript : String .toCamelCase() Target: Applicable with  String  Data Type. Description : convert string to a single word in camel case format. Every words first letter in capital letter except first word. Note: convert into camelCase from PascalCase, snake_case and kebab-case. Syntax: String .toCamelCase() Usase: " hello     how     are     you ? ".toCamelCase() It return string "helloHowAreYou?" "hello-how-are-you-?".toCamelCase() It return string "helloHowAreYou?" "hello_how_are_you_?".toCamelCase() It return string "helloHowAreYou?" "HelloHowAreYou?".toCamelCase() It return string "helloHowAreYou?" Download MYJS.js Include in you project landing page (master page) and it will extends your DOM and JavaScript Objects.