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

How to return blank rather than "null"?

$
0
0

Hasn't worked for me.

Here's my field field defintion

{
    "field": {
        "name": "phones.extension",
        "type": "Regular Expression",
        "regEx": "\d{4}",
        "formula": "if this.nil? then '' else this end"
    }
}

Viewing all articles
Browse latest Browse all 2665

Trending Articles