Skip to content

String Functions

String Functions

This is a group of functions intended for working with data of the string type.

FunctionAction
StringAddAdds a string to the end of another string
StringBufferLenReturns the size of buffer allocated for the string
StringCompareCompares two strings and returns 1 if the first string is greater than the second; 0 - if the strings are equal; -1 (minus 1) - if the first string is less than the second one
StringConcatenateForms a string of parameters passed
StringFillFills out a specified string by selected symbols
StringFindSearch for a substring in a string
StringGetCharacterReturns the value of a number located in the specified string position
StringInitInitializes string by specified symbols and provides the specified string length
StringLenReturns the number of symbols in a string
StringReplaceReplaces all the found substrings of a string by a set sequence of symbols
StringSetCharacterReturns a copy of a string with a changed value of a symbol in a specified position
StringSplitGets substrings by a specified separator from the specified string, returns the number of substrings obtained
StringSubstrExtracts a substring from a text string starting from a specified position
StringToLowerTransforms all symbols of a selected string to lowercase
StringToUpperTransforms all symbols of a selected string into capitals
StringTrimLeftCuts line feed characters, spaces and tabs in the left part of the string
StringTrimRightCuts line feed characters, spaces and tabs in the right part of the string
StringGetCharReturns character (code) from the specified position in the string
StringSetCharReturns the string copy with changed character in the specified position
Last updated on