Summary
public static bool CompareUpdate(this StringBuilder sb, string text)
Compares string builder with text, when it's different, Clears string builder and Appends text. Returns true when original string builder was modified.
Returns
Parameters
- StringBuilder sb
- string text
Summary
public static bool CompareUpdate(this StringBuilder sb, StringBuilder text)
Compares string builder with text, when it's different, Clears string builder and Appends text. Returns true when original string builder was modified.
Returns
Parameters
- StringBuilder sb
- StringBuilder text