Function AtAdjust() Foundation

Justifies a substring within a string.

Syntax
AtAdjust( <cSearchString>          , ;  // Type:  C
          <cString>                , ;  // Type:  C
          <nPosition>              , ;  // Type:  N
          [<nCount>]               , ;  // Type:  N
          [<nIgnoreCharsFromLeft>] , ;  // Type:  N   Default: 0
          [<nCharacter|cCharacter>]  ;  // Type: NC   Default: 32
        ) --> cJustifiedString
Return

AtAdjust() returns the justified string.

Description

The function AtAdjust() modifies a string so that the right part of <cString> which remains after the <nCount>th occurrance of <cSearchString> starts at the position <nPosition>. (<nCount> defaults to the last occurrance of <cSearchString>).

To move the substring the character <nCharacter|cCharacter> is inserted into <cString>.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.