// Yazılım

Some Delphi String Codes

Some essential Delphi String codes

Delphi String Operations FillChar ( str, count, character ) : The string given by the str parameter is filled with the character repeated count times.

StringOfChar ( character, count ) : This function also creates a string consisting of the character repeated count times.

ReverseString ( string ) : Reverses the given string. To use this function, we need to add strutils to the uses line.

Delete ( str, start, count) : Deletes count characters from the str string starting at the character specified by the start parameter.

Insert ( str1, str2, start ) : Inserts the str1 string into the str2 string at the position specified by start.

Pos ( str1, str2) : Searches for the str1 string within the str2 string. If it finds it, it returns the position it found; if not, it returns 0.

Uppercase ( string ) : Converts the letters in the given string expression to uppercase.

Lowercase ( string ) : Converts the letters in the given string expression to lowercase.

Length ( str ) : Returns the length of the str string.

Copy ( str, start, count ) : Returns count characters from the str string starting at the character specified by the start parameter.

// FEEDBACK

Was this useful?

Your rating shows how helpful this note is to other readers.

Was this useful?

Click the stars to rate.

Average rating 0 / 5. Total votes: 0

No one has rated this post yet. Be the first!

Sorry this post was not helpful.

Your feedback is valuable to us.

How can we make this post more helpful?

// JOIN THE CONVERSATION

Share your experience

Got a question, a different solution or a note to add?

// KEEP READING

One more note.

All posts ↗︎