Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4609870
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:03:00+00:00 2026-05-22T01:03:00+00:00

hello i have one very NOOB question and i want to know the answer.

  • 0

hello i have one very NOOB question and i want to know the answer. First my programing language was VB6 and there i could use Split method like in PHP, but main deference is that when i use this code:

$page_array = split('12s12d1a351c12a55a', 'a', 0);
echo count($page_array);

i get result “1” where i must get result more than 1. so what is wrong? can you help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:03:01+00:00Added an answer on May 22, 2026 at 1:03 am

    You are settings your limit to 0, therefore you will retrieve the whole string as 1 line (no splits)
    remove the ,0 in your split statement, also it is (delimiter, string) not (string, delimeter) -> php has some backwards commands

    try:

    $page_array = split(‘a’, ’12s12d1a351c12a55a’);
    echo count($page_array);

    That should produce : 4

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello I have very strange problem and maybe some of you could help my.
I have spend more than one day trying to create a very simple hello
Hello I have a question that could seem complicated. But I will try to
Hello and let me first explain that I have not used jQuery very much
Hello i have a very simple question, I have initialized some variables and started
Hello every one I want to ask that I am very very confused about
Hello I have a very simple question, how do we query by field name??
Edited 3.9.2011 to add one more related question Hello, I'm very new to WCF
hello i have created one windows application in c# .net and its working fine
I have one requirement in C. char abc[]=hello; char hello[]=world; Using abc whether we

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.