This function package exposes common string related functions.
Concatenate a set of strings.
| Arg | Type | Description |
|---|---|---|
| str | string | Strings to concatinate |
| Arg | Type | Description |
|---|---|---|
| returnType | string | A concatinated string. |
Check if two strings are equal
| Arg | Type | Description |
|---|---|---|
| str1 | string | String to be compared |
| str2 | string | String to be compared |
| Arg | Type | Description |
|---|---|---|
| returnType | bool | True if the strings are equal, otherwise false. |
Check if two strings are equal, ignoring case.
| Arg | Type | Description |
|---|---|---|
| str1 | string | String to be compared |
| str2 | string | String to be compared |
| Arg | Type | Description |
|---|---|---|
| returnType | bool | True if the strings are equal, otherwise false. |
Check if str2 is within str1.
| Arg | Type | Description |
|---|---|---|
| str1 | string | Source string |
| str2 | string | String to find in str1 |
| Arg | Type | Description |
|---|---|---|
| returnType | bool | True if the str2 is found within str1 |
Convert str1 to a foat64.
| Arg | Type | Description |
|---|---|---|
| str1 | string | Source string |
| Arg | Type | Description |
|---|---|---|
| returnType | float64 | The float value of str1 |
Convert str1 to a int.
| Arg | Type | Description |
|---|---|---|
| str1 | string | Source string |
| Arg | Type | Description |
|---|---|---|
| returnType | int | The int value of str1 |
Get the length of str1
| Arg | Type | Description |
|---|---|---|
| str1 | string | Source string |
| Arg | Type | Description |
|---|---|---|
| returnType | int | The length of str1 |
Get a substring from str1
| Arg | Type | Description |
|---|---|---|
| str1 | string | Source string |
| start | string | The starting string/char |
| start | string | The ending string/char |
| Arg | Type | Description |
|---|---|---|
| returnType | string | The substring |