Spaces do matter.
Try
int = cint(trim(string(3))
"Philosophaie" wrote:
> I have a string:
>
> string(3) = "543"
>
> I try to change it to an integer:
>
> int = cint(string(3))
>
> It gives me a 'Type Mismatch' Error.
>
> Maybe there may be spaces before ...



