Jump to content
Sign in to follow this  
Luigi

How split in each \ + 2chars

Recommended Posts

Hi, someone can help me to split it?

Local $string = "Bela20Vista20International20Eyes"

I want split every '' plus two characters...

I expect something like this:

Local $arr[7] = [ "Bela", "20", "Vista", "20", "International", "20", "Eyes"]

Thinking the best way is a Regular Expression... I do not undeerstand nothing about Regular Expression...

Or have another way to do?

Note: after '' always have two characters...

Best regards, Detefon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...