char At
Get a character (letter, number, or symbol) from a place in the text string.
You can find out which character is at any place in some text. You might have text thats says "Hello there!"
. The character at position 6 is 't'
. The word “Hello” plus the space have positions 0 - 5, so, ‘t’ is at position 6. To get the character at this position, the letter 't'
, you could use a blocks like this:
Parameters
- index: the number for the position in the text string to return a character for.
Returns
- a single character string that is from the selected position in the text string.
Example
Make a funny new sentence from an existing sentence by choosing every other letter.
See also
char code at,
substr