This version of Unity is unsupported.

TouchScreenKeyboard.characterLimit

public int characterLimit;

Description

How many characters the keyboard input field is limited to. 0 = infinite.

This property is supported on Android and iOS only.