Hi all,

I'm learning about Length and don't understand

the errors I get when putting the lines underneath:

'If New = TestStr.substring2(0,New.Length) Then '

or

'If New = TestStr.substring2(0,New.Length -1) Then'

I get 'LastException java.lang.StringIndexOutOfBoundsException'

everytime I put to many characters in the searchbox.

I really appreciate your explaining..

I'm learning about Length and don't understand

the errors I get when putting the lines underneath:

'If New = TestStr.substring2(0,New.Length) Then '

or

'If New = TestStr.substring2(0,New.Length -1) Then'

I get 'LastException java.lang.StringIndexOutOfBoundsException'

everytime I put to many characters in the searchbox.

I really appreciate your explaining..

Last edited: