Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Getting multiple values on the same topic

$
0
0

You can use this formula to split the value into 2 parts and return the first part.

Here is the full formula
(this.split(/ /, 2).first).tr(',', '')

This splits the value into 2 parts by a [SPACE], that is what’s in between the 2 slashes.
this.split(/ /, 2).first

This part removes the comma from the first part.
tr(',', '')

Hope this helps!


Viewing all articles
Browse latest Browse all 2665

Latest Images

Trending Articles



Latest Images