Hello,

Can you tell me how to use correctly Trim?

I'm reading a numeric value from an excel file and I need to trim that
(in order to obtain '4' instead of '4.0').

var = worksheet2.Range(cell number)['Value']

how do I use trim correctly?

it's something like    var = trim(var) ?



thanks,

John

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to