string
Syntax
- sr = string(a<,i1><,s1><,i2><,s2>)
Create a string. The optional parameters are used to define the string width and fill. The last two optional parameters (only applicable if a is composed of numbers) are the precision and format.
Returns: sr - string
Arguments: a - string value that can be of the following types:
i1 - optional string width, or number of characters in the string
s1 - optional string width, padded with s1 to the desired width i1
i2 - optional precision if a is composed of numbers
s2 - optional format with the following admissible values:
Was this helpful? ... | PFC © 2019, Itasca | Updated: Apr 26, 2019 |