PDA

Click to See Complete Forum and Search --> : String manipulation


hpl
Apr 13th, 2004, 02:30 AM
I have a text string which returns the ID of the last control which has been clicked e.g. "UserControl5". When UserControl5 is clicked I want UserControl6 to be visible so I need to add 1 to the text string. I need a new text string which only includes 5. This will I convert to an integer and add this by 1. And afterwards I create a new UserControl which Id is composed by "UserControl" + Csng(UcNumber).

I need a method that can returns txtUserControl(10,11), which returns the number 5, but I don't remember this method.

hpl
Apr 13th, 2004, 02:34 AM
Sorry, now I'd remember, it is the subString that I didn't recall.