From 1b9d3ca65a64c4e9e9937d3d6503d927749d564f Mon Sep 17 00:00:00 2001 From: Gnlow Date: Wed, 20 Dec 2023 10:20:09 +0900 Subject: [PATCH] impl: reverse_of_string --- src/Entry.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Entry.ts b/src/Entry.ts index a9f79fe..0326b29 100644 --- a/src/Entry.ts +++ b/src/Entry.ts @@ -565,6 +565,9 @@ export class Entry { replace_string(where: string, from: string, to: string) { return where.replaceAll(from, to) } + reverse_of_string(str: string) { + return str.split("").reverse().join("") + } /* 자료 */ get_variable(id: string) {