Click or drag to resize

HelperFindReplacePattern Method

If the source contains the pattern at the given index, append the replacement to the result, advance the index and return true

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static bool FindReplacePattern(
	string source,
	ref int index,
	string pattern,
	string replace,
	StringBuilder result
)

Parameters

source  String
 
index  Int32
 
pattern  String
 
replace  String
 
result  StringBuilder
 

Return Value

Boolean
See Also