Skip to content

Commit

Permalink
impl: reverse_of_string
Browse files Browse the repository at this point in the history
  • Loading branch information
gnlow committed Dec 20, 2023
1 parent d442122 commit 1b9d3ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1b9d3ca

Please sign in to comment.