You need to sign in to do that
Don't have an account?
JoshVH
Test Method Create Long String
I was wondering if there was an easy way in an Apex test method to "fill up" a 32000 character string. Basically I have some logic that handles when a string is over 32000 characters it will split it into 2 strings so it can store it in the database. I don't see anyway to create a 32000 character string easily. I am thinking something like a pad function. A For loop would do it but wondered if there was a built in function to do it. Thanks.