catull
catull
Found a nice solution: ``` let elephant = .lfn let words = split (.publicationText, " ") let maxLineLength = 65 def lineBreak (result, nr, ws, rest) let line = join...
You do see the irony here ? I asked for support of block actions. You do point out > [ .... ] because the if can only produce a single...
Apologies for not being clear. Originally in this code snippet > if ($len2 > maxLineLength or not ($rest)) ( > { "SORLFN": .lfn, "SORZLN": $nr, "SORTXT": $line } > //...
You can also leave out all the keys which produce an empty string, thus ``` def taxonomyCodeToSpecialtyAttrSubGroup(code) let table = { "193200000X" : "", "207KA0200X" : "Allergy", "207KI0005X" : "Clinical...
I reduced the foot-print from 1715 lines down to 1243. Also, most codes appeared twice, so now the code I have in the playground clocks in at 626 lines. Way...
If the input is ```json { "code" : "193400000X" } ``` the result is "". QED.
It would be great if you gave us some more pieces of information. What is a sample input, and output to start with.
@Shubham-1994 Your question is too open-ended. Perhaps you can give us some Java code and JSON input, so we can better understand your use-case.
A couple of question, I still do not understand what you would like to achieve. First off, in ``` [ for (.) if (checkCity(.CITY)) { "myLocationId": .ADDR_ID, "address1": checkAddress1(.ADDR_LINE1, .ADDR_LINE2,...
Are those methods above (`checkCity()`, `checkAddress1()` and `checkAddress3()`) that you want to use in `output.jstl` ?