Difference between revisions of "MTOS()"
From Lianjapedia
Helen.george (Talk | contribs) |
|||
Line 20: | Line 20: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:String Data Functions]] | [[Category:String Data Functions]] | ||
[[Category:Expressions and Type Conversion]] | [[Category:Expressions and Type Conversion]] |
Revision as of 06:40, 4 February 2013
Contents
Purpose
Function to convert a memo field to character data type
Syntax
MTOS(<memofield>)
See Also
ATOM(), MEMLINES(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), MLINE(), MTOA(), SET MEMOWIDTH, SET STRESCAPE, STRTRAN(), SUBSTR()
Description
The MTOS() function converts the memo field <memofield> to a character data type. This function is particularly useful for modifying fields globally. If the specified <memofield> is empty, the MTOS() function returns a null string ("").
Example
string = mtos(notes) string = string + chr(10) + "AT" + date() +" " + time() replace notes with string