|
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: Anand Pillai |
last post by:
To search a word in a group of words, say a paragraph or a web page,
would a string search or a regexp search be faster?
The string search would of course be,
if str.find(substr) != -1:
domything()
And the regexp search assuming no case restriction would be,
|
by: Marc Durufle |
last post by:
I have a string like that " Vertices "
and i want to obtain "Vertices"
I would want to know if there is a simple way to put off spaces on a
string, thank you
--
Marc Durufle
Inria Rocquencourt
Tel : 01 39 63 56 27
--------------------------
|
by: Bernard Drolet |
last post by:
Hi,
I have a column containing a string; the string always starts with a
letter (a-z), followed by an undefined number of letters, then one
number or more.
The REGEXP would look like *+
I need to extract the letters at the beginning in an SQL query or in
PL/SQL
|
by: Mindy Geac |
last post by:
Is it possible to delete special caracters from a string and multiple
spaces?
When the input is : "a&*bbb cc/c d!d"
I want the result : "abbb ccc dd"
thnx.
MJ
<?php
|
|
by: Marco Gallo |
last post by:
I've been trying to get rid of extra spaces in a table that I created
with addresses in it.
For instance in a field called TEST, I got the following address:
" 1 main st Apt A "
First I tried to use the "trim", "ltrim" and "rtrim" functions, these
functions did work, but only for those spaces at the beginning and at
|
by: barry |
last post by:
Have tried a number of things including space(n) in front of the string but
when the DropDownList is shown the spaces have apparently been trimmed.
Is this something that would have to be done in a custom control?
I would like the spaces to be at the front end of the string " xxxxx".
In vs.net I am doing a listitem(string)
Any Help is...
|
by: Bosconian |
last post by:
I know that
str.replace(/^\s+|\s+$/g,'');
will trim a string of space, but what about removing extra spaces from the
middle?
Where
"hello world"
|
by: Andrew Wingorodov |
last post by:
im made subj like this:
inline
bool isnt_space (int sp) { return (::isspace (sp)) ? false : true; }
str.erase (
std.begin ()
, std::find_if ( str.begin(), str.end(), isnt_space)
);
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
|