Substring for all setting types.