#61 — Split Words as Individual Characters

#61-—-split-words-as-individual-characters

Problem description & analysis:

An Excel table has a column of words:

original table
Task: Split each of these words as individual characters and concatenate them into a column, as the following shows:

desired table

Solution:

Enter the following formula in SPL XLL:
=spl("=E@1(?).conj(~.split())",A1:A3)

As shown in the picture below:

result table with code entered

Explanation:

E@1 converts the data range to a one-dimensional sequence. ~ represents the current member; split()splits each character from each word; conj() concatenates the characters.

The example was originally on StackOverflow. Compare the conventional solutions with the SPL approach to get the efficiency of SPL.

Ready to simplify your spreadsheets?🧹✨ Check out the following links and boost your productivity today!

SPL download address: esProc Desktop FREE Download

Plugin Installation Method: SPL XLL Installation and Configuration

References to other rich Excel operation cases: Desktop and Excel Data Processing Cases

YouTube FREE courses: SPL Programming

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
unlocking-the-future-of-coordinate-measuring-machines-(cmm):-
advanced-controllers-and-industry-evolution

Unlocking the Future of Coordinate Measuring Machines (CMM): Advanced Controllers and Industry Evolution

Next Post
let’s-read-–-eloquent-ruby-–-ch-11

Let’s Read – Eloquent Ruby – Ch 11

Related Posts