Difference between revisions of "MC-Basic:SIZE"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:SIZE to MC-Basic:SIZE: Global renaming of Axystems: namespace into (Main):)
Line 45: Line 45:
 
* [[MC-Basic:LEN|LEN]]
 
* [[MC-Basic:LEN|LEN]]
  
[[Category:Axystems:MC-Basic:String_Manipulation|SIZE]]
+
[[Category:MC-Basic:String Manipulation|SIZE]]
 
}}
 
}}

Revision as of 09:17, 22 May 2014

This function returns the number of bytes taken by the input string.In ASCII-8 strings SIZE()’svalueis equal to LEN()’s value, whereas in UTF-8 string SIZE()’s value might be remarkably bigger than LEN()’s value.

Syntax

Size(<string>)

Availability

Avilable since version 4.5.10

Type

<string>: String
<return value>: Long

Range

<string>: string

<return value>: 0 to MaxLong

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

?SIZE (CHR$(0xC4))           ‘ The letter Ä

1.000000000000000e+00

?SIZE (UTF$(0xC4))

2.000000000000000e+00

See Also