Rose::StringUtility
Functions for operating on strings.
Types
Name |
Description |
String with source location information. |
|
A vector of strings with line numbers and file names. |
Enums
Name |
Description |
Find file names non‐recursively. |
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
Functions
Name |
Description |
Convert an interval of virtual addresses to a string. |
|
Convert a virtual address to a string. |
|
Escapes characters that are special to the Bourne shell. |
|
Escapes characters that are special to C/C++. |
|
Unescapes C++ string literals. |
|
Center a string in a field. |
|
Determine whether a file is source code or system library. |
|
Convert to lower case. |
|
Replace all occurrences of a string with another string. |
|
Escapes characters that are special in CSV tables. |
|
Convert base‐64 to binary. |
|
Edit distance between two directory names. |
|
Convert binary data to base‐64. |
|
Escapes line feeds and double quotes. |
|
Get the file name suffix (extension) without the leading dot. |
|
Normalizes line termination. |
|
Compute a checkshum. |
|
Get the absolute path from the relative path. |
|
Obtain operating system type information. |
|
Returns all but the last component of a path in a filesystem. |
|
Convert an ASCII hexadecimal character to an integer. |
|
Name of the home directory. |
|
Escapes HTML special characters. |
|
Convert an integer to a hexadecimal string. |
|
Determines whether one string contains another. |
|
Returns true if the string ends with line termination. |
|
Join strings as if they were English prose. |
|
Join individual items to form a single string. |
|
Escapes characters that are special inside a JSON string. |
|
Left justify a string to specified width. |
|
|
|
Converts a multi‐line string to a single line. |
|
|
|
Concatenate vectors of strings with source location. |
|
Append strings with source location information to vector of such. |
|
Simple wrapper for Unix popen command. |
|
Insert a prefix string before every line. |
|
Reads entire text file. |
|
Reads an entire text file. |
|
Reads words from a file. |
|
Remove ANSI escape characters. |
|
Remove redundant and blank lines. |
|
Replace a pattern with another one in a string |
|
Right justify a string to specified width. |
|
Splits strings into parts. |
|
Splits string into substring based on a separator character. |
|
Split a string into substrings at line feeds. |
|
Remove leading dots. |
|
Get the file name without the ".suffix". |
|
Returns the last component of a path in a filesystem. |
|
Convert a number to a binary string. |
|
Convert a number to a hexadecimal and decimal string. |
|
Generate C preprocessor #line directives. |
|
Split a string into a list based on a separator character. |
|
Trims white space from the beginning and end of a string. |
|
Expand horizontal tab characters. |
|
Create a file. |
|
Stream insertion operators |
Description
This name space provides functions for operating on strings.
Created with MrDocs