Questions tagged [texttrimming]
78 questions
0
votes
2 answers
Truncating Text To Full Words Based On Character Limit - Excel
I'm working with some data (DataSet#1) which has a text field truncated using some unconventional logic:
If "Service Type Description" is > 60 Characters, Trim the name down to < 60 characters, but only full words
My problem is that I need to…

tseel
- 35
- 5
0
votes
4 answers
Why TrimEnd() function of C# behaves like following?
A simple code snippet is as follows:
public static void Main()
{
string str = "IsRecorded
0
";
str = str.TrimEnd("0
".ToCharArray());
Console.WriteLine(str);
}
The output string that I get is IsRecor. Why does the…
Navjot Singh
- 678
- 7
- 18
0
votes
3 answers
Unexpected behavior with Oracle ltrim
select ltrim('PREPROCESSINGLIST_AOD', 'PREPROCESSINGLIST_') as node_code from dual;
The expected result is AOD, but when I run by changing the first string then getting unexpected behavior.
Below are the trails I tried and run by changing the…

Suryaprakash Pisay
- 642
- 8
- 23
0
votes
0 answers
WPF: Auto truncating text in RadRichTextBox
I am using Telerik's RadRichTextBox control in WPF application, in which I wanted to do TextTrimming for the long sentence/string/text. Like for below screen shot-
But I found there is no support for "TextTrimming" for RadRichTextBox control by…

user3848036
- 169
- 2
- 6
- 17
0
votes
1 answer
Is it possible to Trim Wrapped Text at the bottom of the container in WPF?
I would like to trim the contents of a TextBlock at the bottom of the container when it runs out of space. The image below shows what I am trying to achieve.
The left cell contains text that is being wrapped at the end of the line, but is being…

Darren
- 4,408
- 4
- 39
- 57
0
votes
1 answer
SL4 - TextTrimming in DataGridRowGroupHeader
I'm customizing the DataGridRowGroupHeader in our project. Everything works fine except that I can't get the text to trim.
Here's the style: