Jump to content

How split in each \ + 2chars


Luigi
 Share

Go to solution Solved by mikell,

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, Luigi

Edited by Luigi

Visit my repository

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...