[]
        
(Showing Draft Content)

C1.WPF.Document.Utils.IsWholeWord

IsWholeWord Method

IsWholeWord(string, string, int)

Determines if the entire word is contained in the specified string.

Declaration
public static bool IsWholeWord(string word, string text, int idx)
Parameters
Type Name Description
string word

The specified word

string text

The text to search the word.

int idx

The position of the word to evaluate in text.

Returns
Type Description
bool

True if the entire word is contained in the specified string; false otherwise.