public static HasMergeFields ( this content ) : bool | ||
content | this | The content. |
return | bool |
public static bool HasMergeFields( this string content )
{
if ( content == null )
return false;
// If there's no merge codes, just return the content
if (!hasLavaMergeFields.IsMatch( content ))
return false;
return true;
}