in the following code:

    strinchar = Mid(strinchar, 1, InStr(strinchar, ")", -1) - 1)

IDE said error invalid argument, but if i do:

    psotionlen = InStr(strinchar, ")", -1) - 1
     strinchar = Mid(strinchar, 1, psotionlen)

works, why?

i wnat to remove the last occurence of a char but bybass some possible
spaces/chars at the end of string

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to