SPSS tutorials website header logo SPSS TUTORIALS BASICS ANOVA REGRESSION FACTOR CORRELATION

String Variables

SPSS CHAR.SUBSTR Example

SPSS String Variables

SPSS String Variables Basics

String variables are variables that hold zero or more text characters. This tutorial demonstrates their main properties by running simple examples on a test data file.


Read more...

SPSS String Variables Tutorial

Working with string variables in SPSS is pretty straightforward if one masters some basic string functions. This tutorial will quickly walk you through the most important ones.


Read more...

Extract Digits from String Variable

In this tutorial, we'll show a quick and simple way to extract leading digits from a string variable.


Read more...

SPSS String Functions

SPSS INDEX Function

The SPSS INDEX function returns the position of the first occurrence of a given expression within a string. If this expression does not occur in the string, it returns a zero.


Read more...

SPSS LTRIM Function

SPSS LTRIM removes leading spaces from string values. These occur especially when converting numbers to strings by using the string function.


Read more...

SPSS REPLACE Function

SPSS REPLACE replaces a substring in a string by a different (possibly empty) substring.


Read more...

SPSS RTRIM Function

SPSS Rtrim is sometimes needed for removing trailing spaces when concatenating strings. This tutorial shows some complications that may occur when it's omitted.


Read more...

Tell us what you think!

*Required field. Your comment will show up after approval from a moderator.