Here is straight way to do this . you can use "*" before in contain syntax same as like operator . but you need to use double quote before and after the search string . check following query :
SELECT *
FROM product
WHERE CONTAINS(name,'"*1340*"');
it will definitely work .