FlexReport for WinForms
Replace メソッド


C1.Report.4.6.2 アセンブリ > C1.Report 名前空間 > StringParser クラス : Replace メソッド
The original string that will contain the replacement.
Old text to replace.
New text to which will be inserted.
A StringParser.Params contains replacement parameters.
Replaces the text in the original string.
シンタックス
'宣言
 
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.
参照

参照

StringParser クラス
StringParser メンバ