amplitude of a string - Search