VS:LenEncoding

From Vectorworks Developer
Revision as of 19:28, 12 September 2017 by Root (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.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