Page tree

 

Support | BlogContact Us | 844.332.2821

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r0411

...

Info

NOTE: Depending on the type of transform, some of these clauses are not available. After you enter the transform name in the Transform Editor, you can type any of these clause identifiers to see if it's supported for the transform.

Positioning

 

D caption
typefigure
Pattern Clause Positioning
Position ParameterDescriptionExample
afterIdentifies pattern or string after which the match is evaluated.
D code

extract col:MySentence after:'eat '

 

Extracts: pizza on Fridays with my friends."

fromIdentifies pattern or string from which the match is evaluated. Any match includes the from clause pattern or string.
D code

extract col:MySentence from:'eat '

Extracts: eat pizza on Fridays with my friends."

beforeIdentifies pattern or string before which the match is evaluated.
D code

extract col:MySentence before:'friends'

 

Extracts: "I like to eat pizza on Fridays with my

toIdentifies pattern or string up to which the match is evaluated. Any match includes the to clause pattern or string.
D code

extract col:MySentence to:'friends'

 

Extracts: "I like to eat pizza on Fridays with my friends

onIdentifies pattern or string in which the match may be found.
D code

extract col:MySentence on:'Fridays'

 

Extracts: Fridays

atIdentifies the index of starting (x) and ending (y) characters in the string to match. In the above example, at:2,6 matches the string like.
D code

extract col:MySentence at:2,6

 

Extracts: like

 

 

Pattern Parameter Interactions

...

Parameterafterfrombeforetoon
afterSee Note 1.No.before or tobefore or toYes. Can include before.
fromNo.See Note 1.before or tobefore or toNo.
beforeafter or fromafter or fromSee Note 1.No.Yes. Can include after.
toafter or fromafter or fromNo.See Note 1.No.
onYes. Can include before.No.Yes. Can include after.No. 
  • Note 1: If there is no other pattern parameter in the transform, the maximum number of matches per cell is 1. If there is a matching parameter, more matches per cell can be found.