Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/String-matching/GDScript/string-matching.gd
Normal file
14
Task/String-matching/GDScript/string-matching.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@tool
|
||||
extends Node
|
||||
|
||||
@export var first_string: String
|
||||
@export var second_string: String
|
||||
|
||||
@export var starts_with: bool:
|
||||
get: return first_string.begins_with(second_string)
|
||||
|
||||
@export var contains: bool:
|
||||
get: return first_string.contains(second_string)
|
||||
|
||||
@export var ends_with: bool:
|
||||
get: return first_string.ends_with(second_string)
|
||||
Loading…
Add table
Add a link
Reference in a new issue