Sign in to follow this  
Followers 0
Lempke

Break up a string

7 posts in this topic

I want to breakup a string into different variables

Say a strings contains 4 words "This is a text"

Then count the words and than assign the words to a variable.

$result1=This

$result2=is

$result3=a

$result4=text

Is this possible??? And how ??

Share this post


Link to post
Share on other sites



Ahhh even better. The answer on a silver platter. Who needs the help file...

If this is ment sarcastic, then for your information I use the helpfile all the time. Somehow I must have missed this command.

I only post something when I can't find a solution myself. For a not native English speaking person I sometimes find it difficult to find a solution, or understand the helpfile.

But thx for your help...

Share this post


Link to post
Share on other sites

For your information... it absolutely was sarcastic. But, it wasn't directed at you.

As for your abilities with the English language, you seem to understand and write it just fine. Better than some who were born speaking it.

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  
Followers 0