diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-06-10 17:23:56 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-06-10 17:23:56 +0330 |
commit | 71b4af57bdcc91d948d436a459a223c402a6e17d (patch) | |
tree | e22558095e072b6168cb8b6f6bb8235cab00d616 /code/main.felan | |
parent | f6c029cd8842e13069cbd01d2dccc9093f97b8c1 (diff) |
add more functions to string
Diffstat (limited to 'code/main.felan')
-rw-r--r-- | code/main.felan | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/code/main.felan b/code/main.felan index e365c37..44f620f 100644 --- a/code/main.felan +++ b/code/main.felan @@ -4,12 +4,9 @@ main :: () -> void { // print_formatted("hello"); str := string_from("Hey"); - print(str); - print_char('\n'); - _grow_if_needed(&str,23u64); - // append(&str,"\nHello"); + append(&str,"\nHello"); - print(str); + print(slice(str,4,7)); delete(str); }; |