VS:LenEncoding: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (1 revision)
No edit summary
 
Line 46: Line 46:
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<version>
<version>
Availability: from Vectorworks 2019
Availability: from Vectorworks 2018


</version>
</version>

Latest revision as of 19:28, 12 September 2017

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Function LenEncoding returns the length of the specified string value in the specified encoding: 0 – mac; 1 – win; 2 – system; 3 – UTF8; 4 – UTF16

FUNCTION LenEncoding(
v :DYNARRAY[] of CHAR;
encoding :INTEGER) : INTEGER;
def vs.LenEncoding(v, encoding):
    return INTEGER

Parameters

v DYNARRAY[] of CHAR Source string.
encoding INTEGER 0 – mac; 1 – win; 2 – system; 3 – UTF8; 4 – UTF16

Version

Availability: from Vectorworks 2018