Strings and gradients