Script [5.4.1]: set strLength to the length of "Nayan"
set strLength to the length of "Nayan"
Explanation: This will create variable strLength and assign it with a value equal to the length of String “Nayan” that is 5.
Figure 5.4.1 Length of a String