Dim arr() As String
arr = Regex.Split(".","Hello.World")
Msgbox(arr(0),"Error")
certain delimeters will cause errors in java when using regex if not escaped
resolved by the following
arr = Regex.Split("\.","Hello.World")
Error code = java.lang.ArrayIndexOutOfBoundsException
Noted characters include
. period or dot
+ plus
While this may not be a "bug" as much as it is restricted characters in regex, it is worth noting in case others come across the errors when java balks with the above error.
Admins: feel free to move this to another thread if not appropriate here
arr = Regex.Split(".","Hello.World")
Msgbox(arr(0),"Error")
certain delimeters will cause errors in java when using regex if not escaped
resolved by the following
arr = Regex.Split("\.","Hello.World")
Error code = java.lang.ArrayIndexOutOfBoundsException
Noted characters include
. period or dot
+ plus
While this may not be a "bug" as much as it is restricted characters in regex, it is worth noting in case others come across the errors when java balks with the above error.
Admins: feel free to move this to another thread if not appropriate here