Difference between revisions of "Working With String Data in Recital"

From Recital Documentation Wiki
Jump to: navigation, search
(Working With String Data in Recital)
(String Conversion Functions)
Line 24: Line 24:
 
===Converting an Array into a String===
 
===Converting an Array into a String===
 
===String Conversion Functions===
 
===String Conversion Functions===
 +
 +
'''See Also'''
 +
 +
'''Table of Contents'''
 +
 +
* [[CTOD()|ctod()]] - perform character to date conversion
 +
* [[DTOC()|dtoc()]] - perform date to character conversion
 +
* [[DTOS()|dtos()]] - perform date to string conversion
 +
* [[ETOS()|etos()]] - perform expression to string conversion
 +
* [[STOD()|stod()]] - perform string to date conversion
 +
* [[VAL()|val()]] - perform string to numeric conversion
 +
 
===Removing Leading and Trailing Whitespace from a Recital String===
 
===Removing Leading and Trailing Whitespace from a Recital String===
 
===Comparing Strings in Recital===
 
===Comparing Strings in Recital===

Revision as of 12:10, 23 October 2009

Working With String Data in Recital

Changing the Case of a String

See Also

Table of Contents

  • strtolower() - convert a string to lower case
  • strtoupper() - convert a string to upper case
  • ucfirst() - convert a string to lower case with the first character of each word in upper case

Converting to and from ASCII Values

Printing Formatted Strings in Recital

Recital printf Formatting Specifiers

Finding the Length of a Recital String

See Also

Table of Contents

  • strlen() - return the numeric length of a string

Converting a String Into an Array

Converting an Array into a String

String Conversion Functions

See Also

Table of Contents

  • ctod() - perform character to date conversion
  • dtoc() - perform date to character conversion
  • dtos() - perform date to string conversion
  • etos() - perform expression to string conversion
  • stod() - perform string to date conversion
  • val() - perform string to numeric conversion

Removing Leading and Trailing Whitespace from a Recital String

Comparing Strings in Recital

String Comparison Functions Return Value

Accessing and Modifiying Characters in String

Searching for Characters and Substrings in a Recital String

Extracting and Replacing Substrings in Recital

Replacing All Instances of a Word in a Recital String

Miscellaneous String Functions

Summary