MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / format_four_args

Function format_four_args

rust/src/lib.rs:2073–2079  ·  view source on GitHub ↗
(string: &str, arg1: &str, arg2: &str, arg3: &str, arg4: &str)

Source from the content-addressed store, hash-verified

2071}
2072
2073pub fn format_four_args(string: &str, arg1: &str, arg2: &str, arg3: &str, arg4: &str) -> String {
2074 string
2075 .replacen("{}", arg1, 1)
2076 .replacen("{}", arg2, 1)
2077 .replacen("{}", arg3, 1)
2078 .replacen("{}", arg4, 1)
2079}
2080
2081// ----------------------------------------------------------
2082// Private functions

Callers 1

download_browserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected