concat$()

Syntax
string concat$( string separator, expr, ... )


Description
This converts one or more expressions to strings and merges the expressions into a single string. You can use string.scan() to split the string again into its individual parts.
This function is used mainly by the report processor to save unsorted records in a sequential file for subsequent sorting.


Arguments
separator The separator to be placed between individual values in the merged string.
expr ...         One or more expressions of type long, double, or string.


Example
string    ret(100)
long      a
string    b(5)
double    d
a = 10
b = "hello"
d = 1.123456
ret = concat$( "|",a*10,b,d )     | ret now contains "100|hello|1.123456"


Related Post:

People who read this post also read :



0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More