Top "Text" questions

Text is a sequence of characters that is most often used to represent a cohesive piece of information.

SVG get text element width

I'm working on some ECMAScript/JavaScript for an SVG file and need to get the width and height of a …

javascript dom text svg
How to vertically align 2 different sizes of text?

I know to vertically align text to the middle of a block, you set the line-height to the same height …

css text vertical-alignment baseline
Text-overflow CSS truncation

Earlier i was doing it dynamically using JS.. but we were getting some performance issues cuz of which we have …

text truncate css
Converting html to text with Python

I am trying to convert an html block to text using Python. Input: <div class="body"><p&…

python html web-scraping text beautifulsoup
Change paragraph text dynamically with jQuery?

I want to take the information typed into a text field and display it in a paragraph elsewhere on the …

jquery text preview
How to use python-docx to replace text in a Word document and save

The oodocx module mentioned in the same page refers the user to an /examples folder that does not seem to …

python text replace ms-word python-docx
Extract the text out of HTML string using JavaScript

I am trying to get the inner text of HTML string, using a JS function(the string is passed as …

javascript html string text extract
Copying text with color from Notepad++

Is there a way to copy the text from a Notepad ++ file with color? I am trying to write a …

text colors copy notepad++
Measuring text width to be drawn on Canvas ( Android )

Is there a method which returns the width ( in pixels ) of a text to be drawn on an Android canvas …

android text android-canvas draw
I need to write VBS WScript.Echo output to text or cvs

I am attempting to write a VBScript that will list all of the installed application on a system in a …

csv text vbscript echo wsh