by: Steven Bethard |
last post by:
Here's what I'm doing:
>>> lst =
>>> splits =
>>> for s in lst:
.... pair = s.split(':')
.... if len(pair) != 2:
.... pair.append(None)
.... splits.append(pair)
....
|
by: Jeremy Sanders |
last post by:
I have a large string containing lines of text separated by '\n'. I'm
currently using text.splitlines(True) to break the text into lines, and
I'm iterating over the resulting list.
This is very...
|
by: sbucking |
last post by:
im trying to split a string with this form (the string is from a
japanese dictionary file with mulitple definitions in english for each
japanese word)
str1 / (def1, ...) (1) def2 / def3 /...
|
by: Aaron Walker |
last post by:
I have a feeling this going to end up being something so stupid, but
right now I'm confused as hell.
I'm trying to code a function, that given a string and a delimiter char,
returns a vector of...
|
by: John Perks and Sarah Mount |
last post by:
I have to split some identifiers that are casedLikeThis into their
component words. In this instance I can safely use to represent
uppercase, but what pattern should I use if I wanted it to work...
|
by: madrobmegee |
last post by:
I am wondering if any one knows how to split/parse a string of text up at special defined characters, such as a comma.
As I need to split it into arrays to be displayed on a form.
|
by: chezz |
last post by:
Hey i looked at some earlier discussions on this topic and they seem a bit complex i found this code example on another site -
char str = "200.0.0.90-200.0.0.223";
char *first =...
|
by: pkj7461 |
last post by:
I want to split a string based on a pattern. my string is something like this.
10/8/2007 5:03:06 PM thakurab *************RECIVED MAIL FROM MIKE FOR THE PQR AND DPS...
|
by: =?Utf-8?B?cm9kY2hhcg==?= |
last post by:
hey all,
i have the following string value:
xx__field_name__0__0
is it possible to split the string using the double underscores?
thanks,
rodchar
|
by: Eyes Of Madness |
last post by:
I'm doing a program for a class of mine and I am having trouble splitting my strings up. I know you can do something like:
a = '012345'
a
returns 012
but I am inputing strings of varying...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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: 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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|