hi,
maybe as
cString=thisform.text1.value
thisform.text2.value=LEN( STRTRAN( cString," ","" ) )
>>thanks it is helpfull,
>>but if count from form
>>
>>uio=thisform.cstring.value
>
>I don't understand your question. Just replace cString with whatever string text you want to count chars in.