Open sandboxFocus

Method Truncate

Truncate(int)

Truncates the string to a maximum length.

Declaration
public void Truncate(int length)
Parameters
Type Name Description
int length

The wished length of the string after truncation.