String

The String object

Functions

AddConcatenates two strings.
AddAndGetConcatenates two strings then retrieves the result.
AddQuotesInserts quotes if the string does not contain quotes.
AlignCenterCenters the text.
AlignJustifyJustifies the text.
AlignLeftAligns the text to left.
AlignRightAligns the text to right.
CalculateCRC32Calculates the CRC32 value of the string.
CalculateMD5Calculates the MD5 value of the string.
CalculateSHA1Calculates the SHA-1 value of the string.
CompareCompares two strings.
DeleteRemoves characters from the string.
Find
FindAllExcept
FindOneOf
FindOut
FindVariable
FromBR
FromBase128
FromBase64
FromHexString
FromHtml
FromUrl
GetRetrieves the whole text.
GetAtRetrieves the ASCII character of the specified index position.
GetBinValue
GetDataRetrieves the data value of the string.
GetFloatValue
GetHexValue
GetIntValue
GetLengthRetrieves the number of characters.
GetLineCountRetrieves the number of lines.
GetLowerRetrieves the text in lower case without editing the original one.
GetMaxLineLengthRetrieves the number of characters of the lengthiest line.
GetNoSpacesRetrieves the text without spaces.
GetObjectRefRetrieves the inner Seccia reference of the object.
GetRomanValue
GetSubRetrieves a portion of the text.
GetUpperRetrieves the text in upper case without editing the original one.
GetValueAtRetrieves the ASCII value of the specified character.
GetValueTypeParses the string and retrieves the string value type.
HasQuotesChecks if the string contains quotes.
InsertInserts a new portion of text at the specified index position.
IsAlphaAtTests if the character of the specified index position is a letter.
IsConsonantAtTests if the letter of the specified index position is a consonant.
IsDigitAtTests if the character of the specified index position is a digit.
IsFileNameChecks if the text may be used as a file name for Windows.
IsFloatNumber
IsHexNumber
IsIP
IsIntNumber
IsLowerAtTests if the character of the specified index position is a letter in lower case.
IsLowerVariableNameChecks if the text may be a variable name in lower case for any langage.
IsNumber
IsSimilar
IsUpperAtTests if the character of the specified index position is a letter in upper case.
IsUpperVariableNameChecks if the text may be a variable name in upper case for any langage.
IsVariableNameChecks if the text may be a variable name for any langage.
IsVowelAtChecks if the letter of the specified index position is a vowel.
LeftRetrieves a portion of the text.
LeftPartRetrieves the left part of the text.
LeftToRetrieves a portion of the text.
MidRetrieves a portion of the text.
ReadLineReads line per line the content.
ReadTagReads the content tag per tag.
ReadWordReads word per word the content.
RemoveAccentsRemoves all the letters that contain any accents.
RemoveQuotesRemoves quotes.
RemoveSpacesRemoves all spaces from the string.
RemoveTitleNumberRemoves numbers as a digit prefix.
RemoveUselessSpacesRemoves all useless spaces for source code.
Replace
ReverseReverses the text letter by letter.
ReverseFind
ReverseFindOneOf
RightRetrieves a portion of the text.
RightPartRetrieves the left part of the text.
SetChanges the current text.
SetAndGetChanges the current text and retrieves the new text.
SetAtChanges the ASCII character of the specified index position.
SetBinValue
SetDataChanges the data value of the string.
SetFloatValue
SetHexValue
SetIntValue
SetLengthChanges the length of the string.
SetLowerChanges all letters in lower case.
SetRomanValueConverts an integer to a Roman number.
SetSubChanges a portion of the text.
SetUpperChanges all letters in upper case.
SetValueAtChanges the character of the specified index position with its ASCII value.
SplitSplits the string in different parts by using one or several separators.
SplitTagsIs similar to the String.ReadTag function except it stores all the data in a StringArray object and it's easier to use it.
ToBR
ToBase128
ToBase64
ToHexString
ToHtml
ToHtmlEntities
ToUrl
TrimRemoves spaces and tabs, or any characters.
TrimLeftRemoves spaces and tabs, or any characters.
TrimRightRemoves spaces and tabs, or any characters.

Events

The String object has no events.

Constants

SPL_NOQUOTERemove quotes after parsing (only with separator quotes). You do not need to specify String.SPL_QUOTE and String.SPL_QUOTESEP because its value is 0x07. (String.Split)
SPL_NOSPACETrim string results. Cannot be used with a space separator. (String.Split)
SPL_QUOTEDo not search separators in strings, its value is 0x01. (String.Split)
SPL_QUOTESEPLike String.SPL_QUOTE but end-string becomes a separator. You do not need to specify String.SPL_QUOTE because its value is 0x03. (String.Split)
VAL_FLOATThe string value is a float. (String.GetValueType)
VAL_HEXThe string value is a hexadecimal value (0x). (String.GetValueType)
VAL_INTThe string value is an integer. (String.GetValueType)
VAL_NONEThe string value is an unknown format. (String.GetValueType)
VAL_STRThe string value is a string (quotes). (String.GetValueType)

Example

SECCIA Documentation - Copyright © 2001-2013 Sylvain Seccia