Magdagdag ng prefix o suffix
Magdagdag ng parehong teksto bago at pagkatapos ng bawat linya ng listahan, kasama ang blangkong linya.
Input
Tip: pindutin ang Ctrl + Enter para patakbuhin
Mga naka-save na settings
Sa ngayon, nasa Ingles lamang ang detalyadong tulong sa ibaba.
Tungkol sa tool na ito
Turning a plain list into code, a bulleted list or a quoted, comma-separated set is tedious by hand. This tool adds the same prefix to the start and the same suffix to the end of every line in one go. Typical uses are wrapping IDs in quotes for a SQL IN clause, adding "- " for Markdown bullets, or adding HTML tags around each line.
Blank lines receive the prefix and suffix too, so remove them first if you do not want empty entries.
Paano ito gamitin
- Paste the list, one item per line.
- Type the prefix to add at the start of each line (for example a quote mark).
- Type the suffix to add at the end (for example a quote and a comma).
- Run the tool, copy the result and remove the final comma if your syntax requires it.
Paano gumagana ang kalkulasyon
For every line, including empty ones, the output is prefix + line + suffix. Line order and line breaks are unchanged.
Halimbawa
You need the codes alpha, beta and gamma as SQL strings. With prefix ' and suffix ', the lines become 'alpha', 'beta', '', and 'gamma', (each with its trailing comma). The blank line in the input produced the empty '', entry, which you can delete.
Halimbawang input at resulta
gawain → • gawain
Mga limitasyon
- The same prefix and suffix for all lines.
- Blank lines are included.
- No escaping of special characters.
Huling na-update:
Mga madalas itanong
How do I make a Markdown list?
Use "- " as the prefix and leave the suffix empty.
Can I add line numbers?
Not automatically; the same prefix is added to every line.
Does it escape quotes inside my lines?
No. If items contain quotes, escape them before using the output in code.
Pag-aayos ng problema
Empty entries appear in the output.
They come from blank lines. Remove blank lines before running the tool.
The last line has an unwanted comma.
Delete the final comma by hand; the tool treats every line the same.
Spaces appear before my prefix.
The input lines had leading spaces. Clean them with the whitespace cleaner.
Privacy & Libreng gamitin
Sine-save ba ang aking input?
Nananatili sa tab na ito ang iyong input. Hindi namin natatanggap ang iyong mga file, na-paste na teksto o value ng kalkulasyon.
Libre ba ang tool na ito?
Oo. Walang kailangang signup o bayad.
Tingnan din
Mga susunod na hakbang
Pambilang ng salita at karakter
Bilangin ang mga salita, nakikitang karakter, talata at linya sa iyong device, gamit ang paghahating angkop sa wika.
Teksto at pagsulatConverter ng text case
Magpalit sa uppercase, lowercase, title case at sentence case sa iisang tool.
Teksto at pagsulatAlisin ang dobleng linya
Itinatabi ang unang paglitaw ng bawat eksaktong linya at pinapanatili ang orihinal na ayos.
Teksto at pagsulat