Hi !
The livelink I use is : Livelink 9.7.1 UTF8
When i execute this code :
I have this result :
------------------
5
3
------------------
This is weird but i thought this function has just a problem with "accent" (length doesn't count characters with accent...so i tried this code :
I have this result :
------------------
9
5
------------------
5 ! i was expected 7 (number of non accent character) or better...9.
Any idea on how can i solve this ?
The livelink I use is : Livelink 9.7.1 UTF8
When i execute this code :
Code:
echo ("------------------")
String test1 = "abcde"
String test2 = "àbcdé"
echo (length(test1))
echo (length(test2))
echo ("------------------")
I have this result :
------------------
5
3
------------------
This is weird but i thought this function has just a problem with "accent" (length doesn't count characters with accent...so i tried this code :
Code:
echo ("------------------")
String test1 = "abcde abc"
String test2 = "àbcdé abc"
echo (length(test1))
echo (length(test2))
echo ("------------------")
I have this result :
------------------
9
5
------------------
5 ! i was expected 7 (number of non accent character) or better...9.
Any idea on how can i solve this ?