FlexReport for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / IsWholeWord Method
The specified word
The text to search the word.
The position of the word to evaluate in text.

In This Topic
    IsWholeWord Method (Utils)
    In This Topic
    Determines if the entire word is contained in the specified string.
    Syntax
    'Declaration
     
    Public Shared Function IsWholeWord( _
       ByVal word As String, _
       ByVal text As String, _
       ByVal idx As Integer _
    ) As Boolean
    public static bool IsWholeWord( 
       string word,
       string text,
       int idx
    )

    Parameters

    word
    The specified word
    text
    The text to search the word.
    idx
    The position of the word to evaluate in text.

    Return Value

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