|
by: Stu Cazzo |
last post by:
I have the following:
String myStringArray;
String myString = "98 99 100";
I want to split up myString and put it into myStringArray.
If I use this:
myStringArray = myString.split(" ");
it will split myString up using the delimiter of 1 space
so that
|
by: MDB |
last post by:
Hello all, I have having problems figuring out how to split on a string
rather than a char. Any help would be appreciated. Here is what I am
trying to do.
string strMessages=sData.Split("\r\n");
I basically want to split on a new line.
|
by: tshad |
last post by:
I have a textbox that I am storing as text (or as a varChar). The field has
multiple lines in it (not wrapped).
When I read it back into a multiline textbox, it works fine. But when I
read it back into a label, it shows all lines together.
Is there a way to get the Label to display the lines separately?
I could use textbox and get rid of the border and set enable to false, but
then it greys the text, which I don't want.
|
by: George |
last post by:
Dear colleagues,
I refer to your help with specific graphic problem. It is
necessary to create a viewfinder in graphic application.
It seems that the algorithm is simple: just draw lines
in specific position in according to value of some
controls, track bars, for example. Next read the track
bars value to find the coordinates of lines cross.
It works, but I can not get real cross because the
background image is being deface by lines...
|
by: daftspaniel |
last post by:
Hi Folks,
I am trying to scan the lines in the string text:
lines = text.split('\n')
seemed to do the job but has the side effect of stripping the
whitespace. As I am reading Python source in this text and checking
identation this is a bit annoying :-)
How can I stop this happening? Doesn't look like an option from the
|
|
by: Sriram Rajagopalan |
last post by:
Hi,
I was interested to know if there is a way to use a variable name split
across multiple lines in C.
For example :
int this_is_a_very_long_variable_name = 10;
I would like to split the "this_is_a_very_long_variable_name " into 2
|
by: Andrus |
last post by:
I have long single line string literals containing " characters in code like
switch (expr) {
case @"IR(""xxx"")+sql('sele tasudok from dok x where
doktyyp+str(dokumnr,7)= ""G""+str(dok.krdokumnr,7) ','')":
For code readability I need to split them to multiple lines so that vlaue
remains same. I tried
|
by: PengYu.UT |
last post by:
Hi,
In python, triple quote (""") can be used to quote a paragraph
(multiple lines). I'm wondering if there is any equivalent in C++.
For the following code, I could write the long string in a single line
with "\n" in the middle, or I could use multiple cout and endl. But I
just feel more readable if I can have the whole paragraph as a string.
Thanks,
|
by: Andy B |
last post by:
I use a Menu control at the top of my website ona master page. It is set to
go across the top of the page. Is there a way that you can split the
controls display up between multiple lines and still make it look good>?
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|