API Text - Limit characters to closest word