Documentation

Text - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Text

Root.Text

Enumerations

Units
Units for formatting numbers

Functions

Text Length ( Text String ) Integer
Returns the amount of characters in a String
Upper Case ( Text String ) String
Returns the text in all upper case letters
Lower Case ( Text String ) String
Returns the text in all upper case letters
Left ( Text String, Characters Integer ) String
Returns the left portion of a String based on characters
Right ( Text String, Characters Integer ) String
Returns the right portion of a String based on characters
Middle ( Text String, Starting Character Number Integer, Characters Integer ) String
Returns the middle portion of a String based on characters
Cut Left ( Text String, Characters Integer ) String
Cuts out the left portion of a String and returns the rest
Cut Right ( Text String, Characters Integer ) String
Cuts out the right portion of a String and returns the rest
Cut Sides ( Text String, Characters (Left) Integer, Characters (Right) Integer ) String
Cuts out both the left and right portions of a String and returns the rest
Cut Portion Left ( Text String, Portion String, Case Sensitive Boolean ) String
Cuts out the left Portion of a String if it exists, and returns what remains
Cut Portion Right ( Text String, Portion String, Case Sensitive Boolean ) String
Cuts out the right Portion of a String if it exists, and returns what remains
Cut Portion Sides ( Text String, Left Portion String, Right Portion String, Case Sensitive Boolean ) String
Cuts out the right Portion of a String if it exists, and returns what remains
Trim Left ( Text String, Characters String ) String
Returns text without leading characters
Trim Right ( Text String, Characters String ) String
Returns text without trailing characters
Trim Sides ( Text String, Characters String ) String
Returns text without leading or trailing characters
Equals ( Text 1 String, Text 2 String, Case Sensitive Boolean ) Boolean
Returns true if both texts are equal
Compare ( Text String, Starting Character Number Integer, Token String, Case Sensitive Boolean ) Boolean
Returns true if a portion of the text specified is equal to the token
Starts With ( Text String, Token String, Case Sensitive Boolean ) Boolean
Returns true if the text starts with the set text
Ends With ( Text String, Token String, Case Sensitive Boolean ) Boolean
Returns true if the text ends with the set token
Surrounds ( Text String, Start Token String, End Token String, Case Sensitive Boolean ) Boolean
Returns true if the text starts and ends with the set tokens
Contains ( Text String, Token String, Case Sensitive Boolean ) Boolean
Returns true if the text contains the set token
Find ( Text String, Find String, Starting Character Integer, Case Sensitive Boolean, Reverse Boolean ) Integer
Returns the location of the first occurrence of text within the specified text, or -1 if it cannot be found
Replace ( Text String, Search String, Replace String, Case Sensitive Boolean ) String
Returns text with text that's been replaced by other text
Concatenate ( Text 1 String, Text 2 String ) String
Combines two pieces of text together
Format Units ( Value Long, Units Units, Display Units Boolean ) String
Returns number of bytes formatted in the most appropriate way (ie: 1 kB for 1000 bytes).
Regular Expression Replace ( Text String, Search String, Replace String ) String
Returns text with text that's been replaced by a regular expression
Regular Expression Match ( Text String, Expression String ) String Array
Returns if the text entirely matches a regular expression
Regular Expression Search ( Text String, Expression String ) String Array
Returns if the text contains a regular expression
Split ( Text String, Delimiter String, Case Sensitive Boolean, Limit Integer ) String Array
Separate text into an array by a specified delimiter
Join ( Array String Array, Delimiter String ) String
Combines all elements of an array into text separated by a specified delimiter
Longest Common Prefix ( Array String Array ) String
Returns longest common beginning string to all strings provided
Validate Identifier ( Text String ) Boolean
Returns true if the text is a valid identifier
Clean Identifier ( Text String ) String
Returns the text in such a form that will be a valid identifier
Validate Email ( Text String ) Boolean
Returns true if the text is a valid email
Validate Filename ( Text String ) Boolean
Returns true if the text is a valid file name
Next Identifier Name ( Name String ) String
Returns the next numerically incremented identifier name
Get Object as XML String ( Object Abstract*, Dynamic Type Boolean ) String
Creates or overwrites a file with the contents of a object serialized into an object
Create Object from XML String ( Data String, Type API Node*, Dynamic Type Boolean ) Abstract*
Returns the entire contents of a file as a string
Get Dictionary as JSON String ( Dictionary Variant Dictionary ) String
Serializes a dictionary into a JSON string
Create Dictionary from JSON String ( Data String ) Variant Dictionary
Returns a dictionary from a JSON string

If you think anything is missing, please feel free to: submit documentation feedback on this page