SC2Mapster.com Wiki

Galaxy / Triggers / Category String

String

Combining

Combine Strings

  • Combines two strings together.

Combine Strings Multiple

  • Combines multiple strings together. Very useful when returning multiple string variables.

Combine Text

  • Combines two text strings together.

Combine Text Multiple

  • Combines multiple text entries together. Useful for combining text variables.

Comparisons

String Comparison

  • Returns true if the two strings are the same.

String Length

  • Returns the number of characters within a string.

Formatting

Convert String Case

  • Converts a string to upper case or lower case.

Convert Game Text

  • Look up the game string value for the specified string path.

Convert Text Case

  • Converts text to upper case or lower case.

Convert Time To Text

  • Convert a time value, in seconds, to text using one of various formats

Text With Color

  • Encloses the text with a color formatting tag so it will use the given color.

Substrings

String Containment

  • Checks if a string can be found within another string and returns true if present and false if not present.

Position Of Substring

  • Searches for a substring within a string and returns the numerical position of the substring within the string.

String With Indexed Replacement

  • Replaces all characters that exist between two other characters in the string.

String With Search Replacement

  • Replaces one or more occcurrences of a substring inside a string.

Substring

  • Pulls a substring by character start to end count.

Word Of String

  • Returns the indexed word from a string. Words are considered to be separated by whitespace. Returns "No String" if the requested index is beyond the number of words in the given string.

Text With Search Replacement

  • Replaces one or more occcurrences of a substring inside text.

You must login to post a comment. Don't have an account? Register to get one!