VS:LenEncoding: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
No edit summary
 
m (1 revision)
(No difference)

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 2019