3
Example:
nome = "Josénildo da Silva Ramos do Carmo";
Cut to have up to X characters, and look like this:
nome = "Josénildo da Silva ";
In this case I cut to 20 characters.
How do I do this in C#? I only know in C (which is vector). In C# I could not find how.
Thank you both, I couldn’t imagine it was that simple as rsrs (accustomed to C who is a terror kk). You responded a little faster than @Caique C. (according to the website here) so it’s the right answer.
– Leonardo
Yeah, C doesn’t have the type
string
then you have to do everything in hand, in C# most of the operations are ready in type.– Maniero