libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_string_val_contains()

PLIST_API int plist_string_val_contains ( plist_t  strnode,
const char *  substr 
)

Helper function to match a given substring in the value of a PLIST_STRING node.

Parameters
strnodenode of type PLIST_STRING
substrvalue to match
Returns
1 if the node's value contains the given substring, or 0 if not.