⍝ Lines containing string(s) ⍵:

    trim←{(∨\'  '⍷⍵)/⍵}

    trim ,scripts find 'What is being found here','?'   ⍝ simple case
What is being found here? 

    trim ,scripts find 'And what'{⍺ ⍵}' here','?'       ⍝ nested case
And what here? 

⍝∇ find

Back to: code

Back to: Workspaces