How to provide ':select' command with string pattern? This piece of code doesn't work:
let $MY_PATTERN = input('Select pattern: ') | select $MY_PATTERN
Use :execute command:
execute 'select' input('Select pattern: ')