How to Map a specific element of a list : How can I map a list till I find a element?
Any suggestion?

Example:

    List = [1,2,3,4,5,6]

I want to map only if I find 3 and stop there. 

    function x = x*2
Output: 

    List = [1,2,6,4,5,6]