Split

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi

Is there a problem with the following;

dim adata() as string

adata = regex.split(".","AAAA.BBBB")
adata = regex.split(".","5606.0198")

The length of adata is 0 ????

It would appear the 'Pattern' does not want to split the string using a period (.)

I cant believe this would be true !

J.:confused::confused:
 

petrbury

Member
Licensed User
Longtime User
Hi,
. is the special character as well as [ \ ^ $ | ? * + ( ) and You have to write it this way

adata = regex.split("\.","AAAA.BBBB")

Hope it helps.

Petr
 
Upvote 0
Top