replace(s::AbstractString, pat=>r; [count::Integer])
If I want to make two replacements in one pass I have to use regex? It seems like I should be able to do
replace("hello world", "hello" => "hi", "world" => "julia")
replace(s::AbstractString, pat=>r; [count::Integer])
If I want to make two replacements in one pass I have to use regex? It seems like I should be able to do
replace("hello world", "hello" => "hi", "world" => "julia")