String case: Difference between revisions
→{{header|GDScript}}: Add extra conversions
(GDScript) |
(→{{header|GDScript}}: Add extra conversions) |
||
Line 1,719:
func _process(_delta: float) -> bool:
var string: String = "
print(string.to_upper())
print(string.to_lower())
# Note: These will also add/remove underscores.
print("to_camel_case: ", string.to_camel_case())
print("to_camel_case: ", string.to_pascal_case())
print("to_snake_case: ", string.to_snake_case())
return true # Exit
</syntaxhighlight>
|