Top "Format" questions

It may refer to text formatting, content format, file format, document file format, etc.

JavaScript equivalent of Python's format() function?

Python has this beautiful function to turn this: bar1 = 'foobar' bar2 = 'jumped' bar3 = 'dog' foo = 'The lazy ' + bar3 + ' …

javascript python format
How can a custom Drupal date format be added?

How do you add a custom Drupal date format. I want to display the date without hours and minutes, but …

drupal date format drupal-7
What is the difference between !r and %r in Python?

As the title states, what is the difference between these two flags? It seems they both convert the value to …

python string format string-formatting
How to align a column right-adjusted

I want to align a column in my table. In this case 'Title' mysql> SELECT Titel, KuenstlerName from Bild; +…

mysql sql select format tabular
google-bigquery format date as mm/dd/yyyy in query results

I am using Bigquery SQL to generate a report. The standard Bigquery date format is yyyy-mm-dd, but I want it …

sql date format google-bigquery
What's the proper way to format "if" statements in Java with multiline "ands" or "ors"?

Apparently "if", "and", and "or" are such generic search parameters that I can't find the answer on google for my …

java if-statement format
How to successfully embed images in HTML for display in webmail clients?

I'm trying to do a signature in HTML using images that are encoded in base 64 data URLs. Here's an example: &…

html format base64 webmail
NPOI setting different cell format

i have problem setting different format in each cell, i want to set number format to thousand separator and thousand …

c# format cell npoi
Parsing datetime in Python..?

I have a system (developed in Python) that accepts datetime as string in VARIOUS formats and i have to parse …

python datetime format
What is the opposite of GROUP_CONCAT in MySQL?

I seem to come against this problem a lot, where I have data that's formatted like this: +----+----------------------+ | id | …

mysql csv format pivot group-concat