MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / to_snake_case

Method to_snake_case

core/string/ustring.cpp:829–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827}
828
829String String::to_snake_case() const {
830 return _separate_compound_words().replace_char(' ', '_');
831}
832
833String String::to_kebab_case() const {
834 return _separate_compound_words().replace_char(' ', '-');

Callers 14

adjust_name_casingMethod · 0.80
make_templateMethod · 0.80
save_resource_asMethod · 0.80
_postprocessMethod · 0.80
drop_data_fwMethod · 0.80

Calls 1

replace_charMethod · 0.80

Tested by

no test coverage detected