


I was looking into the List of functions available in ACS. I saw two functions DataLength and Length.
Name | Description | Syntax |
DataLength | Returns the number of characters in a string | DataLength(<String>) |
Length | Returns the string length | Length(<string>) |
What is the difference between these two functions. Is the difference related to Unicode character length ?
Views
Replies
Sign in to like this content
Total Likes
DataLength function returns the number of bytes occupy in a variable. It also considered the spaces also.
Length function returns the number of characters in a variable. It also removes the trailing spaces and then return the length.
Thanks,
David
DataLength function returns the number of bytes occupy in a variable. It also considered the spaces also.
Length function returns the number of characters in a variable. It also removes the trailing spaces and then return the length.
Thanks,
David