Skip to content

Commit

Permalink
impl: replace_string
Browse files Browse the repository at this point in the history
  • Loading branch information
gnlow committed Dec 19, 2023
1 parent a7697b8 commit d442122
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 @@ -562,6 +562,9 @@ export class Entry {
index_of_string(where: string, what: string) {
return where.indexOf(what) + 1
}
replace_string(where: string, from: string, to: string) {
return where.replaceAll(from, to)
}

/* 자료 */
get_variable(id: string) {
Expand Down

0 comments on commit d442122

Please sign in to comment.