129

Built-In Functions
String Functions

  • In addition to using regular expressions for pattern filtering, several string utility functions are also of use

  • Perl provides several index-based string functions

    • The length() function

    • The index() function

    • The rindex() function

    • The substr() function