Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy Mid Function Question 1

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
Is this valid?


hrs = Mid(hr$, 1, - 1))

Can you have the -1 there?

thanks!

Sandy
 
Hi!

I've not tried it, but it would seem that a negative number in that position would have not meaning since that number indicates the number of characters to return.

hth
Jeff Bridgham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top