lenb ( str ; idx ; lenOfNotASCII )
String length calculation function. For any non ASC II characters, can be counted as 2 or 3 bytes.
Be the first to rate this function Log in to vote
leinven - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
For ASC II character, count as 1; for others (code > 255), count as you specified. Normally one special character will take 2~3 bytes instead of 1.
Use this function to calculate how may bytes will take if you export string text out from FileMaker to other databases.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.