def position(substring, string):
    return logic.Func('position', logic.SqlBlock(substring).in_(string))