Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Category String

From SC2Mapster Wiki
Jump to: navigation, search

Combining

Combine Strings

  • Function. Combines two strings together.

Combine Strings Multiple

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

Combine Text

  • Function. Combines two text strings together.

Combine Text Multiple

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

Comparisons

String Comparison

  • Function. Returns true if the two strings are the same.

String Length

  • Function. Returns the number of characters within a string.

Formatting

Convert String Case

  • Function. Converts a string to upper case or lower case.

Convert Game Text

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

Convert Text Case

  • Function. Converts text to upper case or lower case.

Convert Time To Text

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

Text With Color

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

Substrings

String Containment

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

Position Of Substring

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

String With Indexed Replacement

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

String With Search Replacement

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

Substring

  • Function. Returns a substring that is defined by a starting and ending point in the original string.

Word Of String

  • Function. 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

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