Skip to main content
Auto correct...
Source Link
sfdcfox
  • 501.9k
  • 21
  • 473
  • 828

The maximum length is actually Limits.getLimitHeapSize(). That's because the maximum length of a string is limited to this value. You can temporarily exceed this limit across multiple objects, but doing this in a single string is not allowed; you'd get a String exception with the message startingstating that the string is too long.

The maximum length is actually Limits.getLimitHeapSize(). That's because the maximum length of a string is limited to this value. You can temporarily exceed this limit across multiple objects, but doing this in a single string is not allowed; you'd get a String exception with the message starting the string is too long.

The maximum length is actually Limits.getLimitHeapSize(). That's because the maximum length of a string is limited to this value. You can temporarily exceed this limit across multiple objects, but doing this in a single string is not allowed; you'd get a String exception with the message stating that the string is too long.

Source Link
sfdcfox
  • 501.9k
  • 21
  • 473
  • 828

The maximum length is actually Limits.getLimitHeapSize(). That's because the maximum length of a string is limited to this value. You can temporarily exceed this limit across multiple objects, but doing this in a single string is not allowed; you'd get a String exception with the message starting the string is too long.