You need to sign in to do that
Don't have an account?
Anand Kelly
Salesforce developer console
Hai All,I am new to salesforce how to add 3,6,9,12 before text i need output like that 3 Anand,6 Anand
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Append the value to the string as shown below .
Here you find the code :
Here is a more dynamic and configurable code snippet:
string str = 'Anand', output='';
Integer startNumber = 1, multiplier = 3, range = 10;
for(Integer index=1; index <= range; index++)
{
output += (startNumber*index*multiplier) + ' '+str+',';
}
System.debug(output);