Within a specified input string, replaces all strings that match a specified regular expression with a specified replacement string.
名前空間: Seleniumアセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文Dim instance As Utils
Dim input As String
Dim pattern As String
Dim replacement As String
Dim returnValue As String
returnValue = instance.Replace(input,
pattern, replacement)
パラメータ
- input
- 型: SystemString
一致を検索する対象の文字列。 - pattern
- 型: SystemString
照合する正規表現パターン。 - replacement
- 型: SystemString
置換後の文字列。
戻り値
型:
StringA new string that is identical to the input string, except that a replacement string takes the place of each matched string.
参照