11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FIELDSTORE<br />

Syntax<br />

FIELDSTORE(str.expr,delimiter,b.pos,option,new.expr)<br />

Description<br />

The <strong>UniBasic</strong> FIELDSTORE function inserts an expression and an appropriate<br />

delimiter into a string.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

str.expr Specifies the target string.<br />

delimiter Specifies the character that delimits fields in str.expr.<br />

b.pos Specifies the occurrence of the delimiter at which to insert.<br />

If the number of delimiters is less than b.pos, UniData inserts the appropriate<br />

number of spaces and delimiters.<br />

option Specifies whether FIELDSTORE will insert before, insert after, or replace<br />

the field at b.pos. Refer to the following FIELDSTORE Options table for<br />

further details.<br />

new.expr Specifies the expression (with its associated delimiter) to insert before or<br />

after the specified delimiter.<br />

FIELDSTORE Parameters<br />

FIELDSTORE 1-249

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!