Skip to content

Commit 6f44271

Browse files
Update Text_SliceMethod.cs
1 parent 5497096 commit 6f44271

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Code/MethodSystem/Methods/TextMethods/Text_SliceMethod.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class Text_SliceMethod : ReturningMethod<TextValue>
2424
new IntArgument("end amount", 0)
2525
{
2626
Description = "The amount of characters to remove from the end of the text.",
27+
DefaultValue = new(0, null)
2728
}
2829
];
2930

0 commit comments

Comments
 (0)