Click or drag to resize
AkCommonReplace Method (String, String, Object, Boolean)
字符串替换。

忽略 pattern 的大小写。

Namespace: Appkit.Common
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static string Replace(
	string input,
	string pattern,
	Object replacement,
	out bool found
)

Parameters

input
Type: SystemString
要搜索匹配的字符串。
pattern
Type: SystemString
要匹配的字符串。
replacement
Type: SystemObject
替换数据。
found
Type: SystemBoolean
是否发现匹配项。

Return Value

Type: String
替换处理后的字符串。
See Also