Raynald's SPSS Tools
  • Syntax
    • SPSS Syntax Home
    • Sample Syntax Library
    • Learning Syntax
    • Debugging SPSS Syntax
    • Standard Data Files
  • Macros
    • SPSS Macros — Home
    • Sample Macro Library
    • Learning Macros
    • Debugging Macros
    • Kirill's SPSS Macros Page
  • Scripts
    • SPSS Scripts — Home
    • Sample Scripts Library
    • Learning Scripts
    • The Asynchronous Problem
  • Python
    • Python Scripts Home
    • Sample Python Library
  • R
    • R Scripts — Home
    • Sample R Library
  • Resources
    • Resources Overview
    • Blog
    • Links to SPSS (and not only SPSS) resources
    • SPSS Programming and Data Management Book
  • Sitemap
  • Feedback
  • en
    • Русский
    • Español
    • Portugues
    • Deutsch
    • Français
    • Italiano
  1. Home
  2. Syntax
  3. Sample Syntax Library
  4. Concatenate/modify string variables

Concatenate/modify string variables

(see also Parse or flag data)
  • Apparent problem with concat
  • Combine a string variable and a numeric variable
  • Concatenate All Values Into Constant Getting constant string, unifying all values of another string variable.
  • Concatenate content of cases with same id
  • Concatenate numbers
  • Concatenate 22 variables
  • Create an id using name and dob
  • Normalize string
  • Normalise alpha
  • Remove initial from name
  • Remove period from string
  • Reorganize names
  • Transform ascii codes into characters
  • Convert first letter of each word to uppercase (v.2) 1 This syntax takes address line, parse it into separate word then capitalizes first letter of each word and joins back to a string. Note: supplementary string variables created.
Related pages

...

Navigate from here
  • Sample Syntax Library
  • Factor Analysis
  • Parse or Flag data
  • Apparent problem with concat
  • Get random page
  • Back to top

 


 

Raynald's SPSS Tools © 2001–2025, Raynald Levesque, Anton Balabanov. Click to learn more: About the project