Note – maximum string length

 In Note!

I got this question last week, “What is the maximum length of string variables?”

See the example of the string variable to the right in this data file:

Many years ago I remember the problem with long string variables for example an open question in a questionnaire, where some respondents answer could be very long (a long text). At that time there were a maximum length,  so SPSS then splitted up the answer into 2 variables – that was less good. Today there is still a maximum length but it’s very long:

Maximum length is 32767 characters – in version 25

If you run version 23 and have some problems with the length, you can see some help in this link:

Problem with string length if version 23

Thanks for today! /Gunilla

error: Content is protected !!