લખાણ પર જાઓ

Talk:Z10324

Wikifunctionsમાંથી
છેલ્લી ટીપ્પણી: With «my_string» result is false, but should be is true વિષય પર Alexander-Mart-Earth વડે ૫ મહિના પહેલાં

Please, update implementation: snake_case can't contain spaces

Snake case is a way of writing phrases without spaces, where spaces are replaced with underscores _, and the words are typically all lower case. It's often stylized as "snake_case" to remind the reader of its appearance.

https://developer.mozilla.org/en-US/docs/Glossary/Snake_case Alexander-Mart-Earth (talk) 13:34, 21 December 2023 (UTC)ઉત્તર

New test case needed: «my string» is not a snake_case!

Sources:

Snake case (stylized as snake_case) is the naming convention in which each space is replaced with an underscore (_) character, and words are written in lowercase.

https://en.wikipedia.org/wiki/Snake_case Alexander-Mart-Earth (talk) 13:42, 21 December 2023 (UTC)ઉત્તર

With «my_string» result is false, but should be is true

input: my_string output: false

input: my_string_ output: true

input: my_string_string output: true

What? :) Alexander-Mart-Earth (talk) 13:49, 21 December 2023 (UTC)ઉત્તર