Compartilhar via


ContainsString(string,string,bool) function

 
Microsoft Office Live Communications Server 2005 with SP1

ContainsString

The ContainsString function searches for an occurrence of one specified string within another.

bool ContainsString(
  string sourceString,
  string searchString,
  bool ignoreCase
);

Parameters

  • sourceString
    The string that will be searched.
  • searchString
    The string to search for within sourceString.
  • ignoreCase
    Indicates whether case should be ignored when matching. If true, case will be ignored; if false, case will be considered.

Return Values

Returns true if searchString was found within sourceString; false if not.

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.