by: Alexander Ross |
last post by:
is there an easy way to split a string on SPACE except if that SPACE is
within QUOTES?
i.e. - $str = red green blue yellow "blue green" returns
?
|
by: Justin L. Kennedy |
last post by:
I am looking for a function that takes in a string and splits it using a
list of other strings (delimiters) and can return the delimiters as well
as the extra parts of the string. I was trying the...
|
by: afrinspray |
last post by:
I'm writing a function that parses a nested list string that might look
like this:
( "HELLO WORLD!" 1231231 awesome ( 1 2 ) )
I wrote the logic already and it starts by splitting the string by...
|
by: none |
last post by:
Hello:
Using PHP 4.3.11
The line: $strDate = preg_split('//', $my_date);
works to break apart a date in the form mm/dd/yyyy or mm.dd.yyyy or
mm-dd-yyyy
but the line: $strDate =...
|
by: Chris Thompson |
last post by:
Hi All,
Trying to split a string where there are occurances of a space, a comma, a
newline (char 10), or a return (char 13) using the preg_split function, but
not sure how to write the regular...
|
by: Ben |
last post by:
Hi,
To simplify this request, we supposed this following sql script:
"insert into table a values ('me;you','then'); insert into table a
values ('you;me','so');"
Note the semi-colon ( ; ) in...
|
by: Vince Morgan |
last post by:
My problem has a simple solution. However I just can't find it. I cannot
remember which 'split()' type function allows you to keep the delimiter in
place within the final array.
I've tried...
|
by: Geoff Berrow |
last post by:
Does anyone know what regular expression I would use to split text into
an array, assuming the text can be separated by any non alphanumeric
character?
e.g
$string ="cat,dog fish, mouse ...
|
by: John |
last post by:
Hi
I have written a function to split a string into sub strings of a given
fixed max length. This is useful for example in breaking a long message into
multiple strings of up to 160 characters...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|