Skip to content
EspañolWorkspace →

PSeInt Concatenar: join two texts

Joins two pieces of text into one, one after the other.

Template
Concatenar
Open it in Codoritmo

Opens the editor with this example loaded. Run it step by step and watch the flowchart.

Worked example

A complete algorithm, ready to copy and run.

concatenar-concatenate.psc · 3 lines
Algoritmo Example    Escribir Concatenar("Hola, ", "Ana")FinAlgoritmo

Output

Shows: Hola, Ana

This is what the console shows when the example runs.

Hola, Ana

Common mistake

Spaces aren't added for you: put them inside the quotes.

In a flowchart

This is how it appears in a flowchart, with the same shapes Codoritmo draws.

saludo ← Concatenar(a, b)
Used inside a calculation. It has no shape of its own; it's used inside a calculation. Flowchart: a process rectangle reading "saludo ← Concatenar(a, b)", with one arrow in and one arrow out.
Draw the flowchart of your own algorithm →

Template

The general form. Replace what's inside < > with your own data.

Concatenar · 1 line
Concatenar(<izquierda>, <derecha>)

Examples that use it

Programs from the example library where it appears, from the simplest to the most complete.

  • Data Formatting

    Fixes upper and lower case, and converts between text and numbers.

    Intermediate
See every Text example →

More string functions

Codoritmo is an independent, open-source project inspired by PSeInt and compatible with its syntax. It is not affiliated with the PSeInt project. Official PSeInt website.