|
by: Ellen K. |
last post by:
In a previous post I mentioned having a problem getting leading spaces
to be written to SQL Server using OPENXML. They showed up fine in my
XML documents if I printed them, but not in my database.
(Our legacy flat-file data uses fixed-length character expressions for
data like contract numbers, I guess because in a 16-bit environment
you'd run out of available numbers REALLY fast... right now our
contract numbers are in the 700,000's,...
|
by: BobM |
last post by:
I have two strings that I would like to compare. To guarantee the compare is
not affected by trailing spaces, I would like to remove them.
Will this do: MyTextBox.text.ToString().Trim()?
|
by: SKG |
last post by:
i have leading spaces in my database fields. When they appear in the
datagrid in browser,
they seem to be truncated. I did view source in browser and found that there
are indeed spaces but when browser
displays it crunches them in datagrid. Also i have update and delete
buttons options in this datagrid.
How can i display the leading spaces.?
TIA
|
by: Paul |
last post by:
Hi just wondering if there is an easy way to remove spaces in a string, tried
the trim method but think it is only for leading or trailing spaces.
thanks
--
Paul G
Software engineer.
|
by: Roman Mashak |
last post by:
Hello, All!
I implemented simple program to eliminate entry from the file having the
following structure (actually it's config file of 'named' DNS package for
those who care and know):
options {
directory "/var/named";
listen-on { 192.168.11.22; 127.0.0.1; };
forwarders { 168.126.63.1; };
|
|
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: Registered User |
last post by:
Hi experts,
I'm trying to write a program that replaces two or more consecutive
blanks in a string by a single blank.
Here's what I did:
#include <stdio.h>
#include <string.h>
#define MAX 80
|
by: John Nagle |
last post by:
One can argue over tab vs. space indentation, but mixing the two
is just wrong. Why not have CPython report an error if a file has
both leading tabs and leading spaces? I know that was proposed at
some point, but I don't think it ever went in. That would catch a
common error introduced during maintenance.
John Nagle
|
by: markpringle |
last post by:
I am using a very simple multiline textbox (below) to capture text (poems). Many poems require formatting of the first line by including leading spaces. However, on submit, the leading spaces are being removed. I do not want leading spaces removed. How do I keep the leading spaces? There are no SQL Trims being used.
<asp:TextBox ID="PoemText" TextMode="Multiline" Columns="90" Rows="25" runat="server" Text='<%#...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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: 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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|