select Substring(notes,1,4000) as notes from history
Where the 1 is where you start and the 4000 is how many characters you want to pull in.
SUBSTRING ( expression ,start , length )
A holding place for thoughts, ideas and revelations related to cloud configuration and development with Salesforce.com
SUBSTRING ( expression ,start , length )
trigger test on Lead (before update) {
for(Lead lead:System.Trigger.new) {
if (Lead.IsConverted)
//do somethign here with converted leads
}
}