'宣言 Public Shared Function Replace( _ ByVal s As System.String, _ ByVal oldStr As System.String, _ ByVal newStr As System.String, _ ByVal prms As StringParser.Params _ ) As System.String
'使用法 Dim s As System.String Dim oldStr As System.String Dim newStr As System.String Dim prms As StringParser.Params Dim value As System.String value = StringParser.Replace(s, oldStr, newStr, prms)
public static System.string Replace( System.string s, System.string oldStr, System.string newStr, StringParser.Params prms )
パラメータ
- s
- The original string that will contain the replacement.
- oldStr
- Old text to replace.
- newStr
- New text to which will be inserted.
- prms
- A StringParser.Params contains replacement parameters.
戻り値の型
The string with replaced text.