OpenTypeMethods.SubstringOf(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a substring occurs in another string.
public:
static System::Object ^ SubstringOf(System::Object ^ substring, System::Object ^ targetString);
public static object SubstringOf (object substring, object targetString);
static member SubstringOf : obj * obj -> obj
Public Shared Function SubstringOf (substring As Object, targetString As Object) As Object
Parameters
- substring
- Object
The substring to locate.
- targetString
- Object
The string to search.
Returns
true
if substring
occurs in targetString
, otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.