That can even be simplified a bit. The full ChangeScript can just be one line:
self.props.text = self.props.text[:self.custom.altMax]
There’s no need for a length check.
That can even be simplified a bit. The full ChangeScript can just be one line:
self.props.text = self.props.text[:self.custom.altMax]
There’s no need for a length check.