
String - Microsoft MakeCode Arcade
A string type is more complex than a number or a boolean. Along with its characters a string type contains information about its length an it lets you change any of its characters using an index.
Activity: Arrays of Strings - Microsoft MakeCode Arcade
Another way in which you can use string arrays in your games is to create reactions to different events - for example, the player running into another character, or losing a life.
Activity: User Input and String Logic - Microsoft MakeCode Arcade
Activity: User Input and String Logic Logical expressions like if and else can be used for much more than comparing numeric values. Data type values (such as Strings) can be compared …
Text
indexOf Returns the position of the first occurrence of a specified value in a string.
split - Microsoft MakeCode Arcade
A string is split into one or more shorter strings by finding a special string in the bigger string and dividing it right at that string. That special string is called a separator.
ask For String - Microsoft MakeCode Arcade
The player is prompted to input a string. Your message is displayed and the player chooses from character selections below it to make a response. Each character of the response string is …
substr - Microsoft MakeCode Arcade
You could make a new string that just has the word "there" from a bigger string that says "Hello there!!!". To do that, the substring is copied from the character position of 6 in the first string …
ask for string ex - Microsoft MakeCode Arcade
Made with ️ in Microsoft MakeCode Arcade.The content above is provided by a user, and is not endorsed by Microsoft. Report abuseif you think it's not appropriate.
Activity: Array Manipulation - Microsoft MakeCode Arcade
In the on overlap event, make the Friend say a random string from greetings for 500 ms Use the Ghost SpriteFlag to prevent the overlap event from triggerring for 1000 ms
includes - Microsoft MakeCode Arcade
You use this if you want the search to start at someplace past 0, the first position. Returns a number which is the position in the string where the element is found. This number is -1 if a …