Browse Source

Update README.md

1156-cameltosnakecase
Hamza elkhatri 2 years ago committed by GitHub
parent
commit
24d61abd6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      subjects/cameltosnakecase/README.md

4
subjects/cameltosnakecase/README.md

@ -3,7 +3,7 @@
### Instructions
Write a function that converts a string from `CamelCase` to `snake_case`.
Camel case is the practice of writing phrases without spaces or punctuation, it indicates the separation of words with a single capitalized letter. Snake case is a style of writing in which each space is replaced by an underscore (_) character.
Camel case is the practice of writing phrases without spaces or punctuation, it indicates the separation of two words with a single capitalized letter. Snake case is a style of writing in which each space is replaced by an underscore (_) character.
Here are some rules for you to follow:
@ -14,7 +14,7 @@ Here are some rules for you to follow:
Basic `CamelCase` Capitalization Rules:
- The first letter must be capitalized.
- The word must not have two capitalized letters together (CamelCAse) not end with a capitalized letter (CamelCasE).
- The word must not have two capitalized letters together (CamelCAse) nor end with a capitalized letter (CamelCasE).
- No numbers or punctuations are allowed in the word at any place (CamelCase1more).

Loading…
Cancel
Save