MarkdownDocumentEditor.WrapValue

Wraps a string with beginning and ending delimiters. Fixes up accidental leading and trailing spaces.

public string WrapValue(string input,
	string delim1,
	string delim2,
	bool stripExtraSpaces)

Parameters

input
string to wrap

delim1
start delimiter

delim2
end delimiter

stripExtraSpaces
strips 'extra' spaces or more than one and leaves only one


See also:

Class MarkdownDocumentEditor

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic