View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
Maurizio Borrelli[_2_] Maurizio Borrelli[_2_] is offline
external usenet poster
 
Posts: 12
Default Fast way to truncate string

Il giorno venerd́ 27 marzo 2015 18:11:08 UTC+1, GS ha scritto:
Given the simplicity of your test, this results about 50/50 on my
machine after 5 runs. No surprise!
Generally speaking, though, the Mid() function is considered to be
faster in the VB community forums. Having tested with more complex
uses, I agree with that assessment!


Anyway, string functions (Mid$, Left$, ...) are faster then variant.

--
Ciao! :)
Maurizio