def if_in(keywords,text):
    """
    Return keywords that appears in 
    
    Parameters
    ----------
    keywords : list of str
        keywords
    text : str
        text
    
    Returns
    -------
    str
        keywords list separated by a pipe
    """
    result_=set([])
    for word in keywords:
        if word in text:
            result_.add(word)
    return "|".join(list(result_))