Questions tagged [text]

Text is a sequence of printable characters.

Text is a sequence of printable characters.

Text can be unformatted (plain) or formatted (rich).

The most common character codes used for representing text are Unicode and ASCII:

  • ASCII is a character code and an encoding.
  • Unicode is a complex standard, with multiple encodings, the most common of which is UTF-8.
31743 questions
7
votes
1 answer

How to process huge text files that contain EOF / Ctrl-Z characters using Python on Windows?

I have a number of large comma-delimited text files (the biggest is about 15GB) that I need to process using a Python script. The problem is that the files sporadically contain DOS EOF (Ctrl-Z) characters in the middle of them. (Don't ask me why,…
Joel
  • 507
  • 4
  • 11
7
votes
2 answers

Android ShowcaseView Text Color

The default color for the subtext in the android showcaseview library found here is white. I would like to make the subtext black. I cannot find any documentation on how to change text color. There is a guide on XDA Developers which says how to…
Shane
  • 972
  • 2
  • 12
  • 27
7
votes
2 answers

Get text of view (button)

I have two column in relative layout. both column have few button with text. I want to draw a line using finger which join the button. Take the example of "match the following" like A ------------------- A. Above things are done. Now i want to get…
itin
  • 430
  • 3
  • 9
  • 20
7
votes
2 answers

Change QLabel text dynamically in PyQt4

My question is: how can I change the text in a label? The label is inside a layout, but setText() does not seem to work - maybe I am not doing it right. Here is my code: this is the Main windows GUI, the one Qt-Designer gives: class…
n3rio
  • 87
  • 1
  • 1
  • 6
7
votes
2 answers

How to make text on the end fade out with gradient background?

I already have an element with an image as a background. Is it possible make a text on the end fade out just like in this question The problem is that the background image already have a gradient and I need the text on it just to become transparent…
quatzael
  • 81
  • 1
  • 2
7
votes
3 answers

WPF How can you create a nice looking wave of letters

I have the need to create a wavey looking text object in my WPF app, and I was actually assuming that there would be a "bend along a path" type of options, but I dont see one at all in Blend. I found a tutorial that suggest you need to convert you…
Mark
  • 14,820
  • 17
  • 99
  • 159
7
votes
4 answers

Paragraph auto newline

In DIV I put paragraph but when text is longer then div,it does not make new line but out of the DIV.I try with: -moz-hyphens:auto; -ms-hyphens:auto; -webkit-hyphens:auto; hyphens:auto; word-wrap:break-word; but it doesn't work.Any…
MilosRogan
  • 71
  • 1
  • 1
  • 4
7
votes
2 answers

How do I Replace a String in a Line of a Text File Using FileSystemObject in VBA?

I am trying to use FileSystemObject methods to find a specific line in a text file, and within that line replace a specific string. I am relatively new to this, as my current code has excel open the text file and replace what I need it to replace…
aCarella
  • 2,369
  • 11
  • 52
  • 85
7
votes
8 answers

Replace word in

in

I have a document with the following structure:

This is some text.

I want to replace the word "some" with the word "My" using jQuery. How do i do this? I tried:…
user2075124
  • 227
  • 1
  • 6
  • 14
7
votes
2 answers

How do I give NSText multiple shadows?

Right now I'm using NSShadow *textShadow = [NSShadow new]; textShadow.shadowBlurRadius = 5; textShadow.shadowColor = [[NSColor whiteColor] colorWithAlphaComponent:.5]; [self addAttribute:NSShadowAttributeName value:textShadow range:NSMakeRange(0,…
zakdances
  • 22,285
  • 32
  • 102
  • 173
7
votes
3 answers

Is there any open source text analysis library for PHP?

I am looking for a PHP library which does more or less the same thing as this webpage: http://textalyser.net/ I know that there are popular libraries in python and java, but I am looking for a PHP version. Thanks for your help!
Marc
  • 377
  • 7
  • 19
7
votes
5 answers

jQuery select text nodes and delete their content

I was looking for an answer to this question, and I came up with this stackoverflow - How do I select text nodes with jQuery? Is there so far another way to do this ?? In my very case I'm trying to find every text node starting from a given DOM…
Alex van
  • 187
  • 1
  • 3
  • 12
7
votes
6 answers

MySQL Table with TEXT column

I've been working on a database and I have to deal with a TEXT field. Now, I believe I've seen some place mentioning it would be best to isolate the TEXT column from the rest of the table(putting it in a table of its own). However, now I can't find…
luiscubal
  • 24,773
  • 9
  • 57
  • 83
7
votes
2 answers

Is there a Trigram functionality like pg_trgm (PostgreSQL) for MySQL?

I created a fuzzy search in C# for a PostgreSQL database using the similarity() function from the pg_trgm module. Now I want to port this search to a MySQL database, but MySQL has no similar trigram functionality. Is there a way to import the…
ischas
  • 169
  • 2
  • 12
7
votes
2 answers

Getting second line of text set as a variable using FOR in batch

I have a text file on my desktop named "1234.txt" and it contains four lines of text that looks like: Test Test1 Test2 Test3 I want to echo the second line (aka Test1) using the FOR command. I am using this: @echo off for /f "skip=1" %%G IN…
user2654489
  • 85
  • 1
  • 1
  • 4