OCLOperators maxLength
This page was created by Lars.olofsson@mdriven.net on 2020-06-29. Last edited by Stephanie@mdriven.net on 2025-02-24.

Returns the maximum length allowed for a string attribute.

Useful for cutting a string to fit an attribute and avoiding SQL errors when saving.

See: String attribute overflowing