Append

From BR Wiki
Revision as of 13:00, 9 January 2012 by Mikhail.zheleznov (talk | contribs) (edit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


To append to the end of a String you should (for maximum speed of code execution) use

X$(32767:0)="append this to end"


Please note that 32,767 is the Maximum size of a string in Business Rules! and if that changes at some point than this number must be changed and any existing code that uses this syntax.

Optionally you may choose to use Inf in your code which may work better with changing maximums. The following method runs just as quickly as the previous.

X$(inf:0)="append this to end"

Another method that is almost as quick is:

X$(inf:inf)="append this to the end"

or

X$(inf:0)="append this to the end"