Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

extracting part of string from the answer

  • xiaomeng0603
  • xiaomeng0603's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago #218579 by xiaomeng0603
extracting part of string from the answer was created by xiaomeng0603
hi
i have the text in Q1.shown like the following 
20%: 100; 25%: 0; 30%: 0; 35%: 0; 40%: 0 (the format is short free text)

how  to extract the substring from the text based on the index ";" and make the result like the following format

20%: 100
25%: 0
30%: 0
35%: 0
40%: 0

thank you
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose