Top "Text-formatting" questions

How to output numbers with leading zeros in JavaScript

I can round to x amount of decimal places with math.round but is there a way to round left …

javascript text-formatting number-formatting
How to write URLs in Latex?

How do you write a URL in Latex? The subscripts and everything else make the font look very strange when …

url latex text-formatting
how to use "tab space" while writing in text file

SimpleDateFormat formatter = new SimpleDateFormat("ddMMyyyy_HHmmSS"); String strCurrDate = formatter.format(new java.util.Date()); String strfileNm = "Cust_Advice_" + strCurrDate + ".txt"; …

java tabs text-formatting
Printing with "\t" (tabs) does not result in aligned columns

I have a very weird problem. After writing this: for (File f : currentFile.listFiles()) { if (f.isDirectory()){ System.out.println(…

java tabs text-formatting
Set color of text in a Textbox/Label to Red and make it bold

I want a text color to be red in color on certain condition. Here is how i want to get …

c# asp.net colors text-formatting
Telegram markdown syntax: Bold *and* italic? (September 2018)

By looking at Telegram’s “Markdown Syntax” Wiki page, it should be relatively easy to create text that is bold …

html markdown telegram markup text-formatting
Use a custom thousand separator in C#

I'm trying not to use the ',' char as a thousand separator when displaying a string, but to use …

c# formatting text-formatting
Truncate part of text in UILabel

My requirement is that I need to display text in label in such a way that if the length of …

ios objective-c ios7 uilabel text-formatting
Add rich text format functionality to django TextField

I have a django model which contains a description field: class Product(models.Model): name = models.CharField(max_length="125") description = …

django text-formatting field-description
What is the WPF XAML Data Binding equivalent of String.Format?

Or, to be more clear, how can I format a block of text (in my case, to be included within …

.net wpf binding formatting text-formatting