mirror of https://github.com/thaldrin/thaldrin.git
replace function for lingua
This commit is contained in:
parent
59ecdf2cff
commit
2e947fbdda
|
@ -0,0 +1,4 @@
|
||||||
|
export default function replace(to_replace: string, replace_with: string, full_string: string) {
|
||||||
|
|
||||||
|
return full_string.replace(to_replace, replace_with)
|
||||||
|
}
|
Loading…
Reference in New Issue