Opigno Quiz import module text in title/question field too long in excel import

Took me forever to find this answer. My questions that i was importing had too many chartacters in the excel sheet I was importing.  Added the lines below. 

In

profiles>Opigno_lms>modules>Opigno quiz import app

Go to the file opigno_quiz_import_app.module and where you have

// Start a new one.
$node = (object) array(
'title' => $question,

can you please put

// Start a new one.
$trimmed = substr($question, 0, 250);
$node = (object) array(
'title' => $trimmed,

 

https://www.opigno.org/en/forum/support/multiple-questions-problems-and-suggestions#comment-7103