====== Words ====== ^ Blocks ^ Description ^ | {{blocks:letters.png|}} | Convert string to an array of letters | | {{blocks:words.png|}} | Convert a sentence into an array of strings (split by space character | | {{blocks:lines.png|}} | Convert text into an array of strings | | {{blocks:quotes.png|}} | Report the parameter as a string, even if appears to be a number. This block is likely to be removed; a new GP feature allows one to force the contents of any editable input slot to be interpreted as a string. | | {{blocks:join.png|}} | Joins the given strings together | | {{blocks:joinstringlist.png|}} | Joins a list of strings (e.g. letters, words, sentences) together | | {{blocks:count.png|}} | Reports number of characters in a string | | {{blocks:substring.png|}} | Reports a substring | | {{blocks:space.png|}} | Reports a space character | | {{blocks:tab.png|}} | Reports a tab space character | | {{blocks:newline.png|}} | Reports a newline | | {{blocks:tostring.png|}} | Converts item to a string | | {{blocks:tonumber.png|}} | Converts a string to a numerical value | | {{blocks:toupper.png|}} | Converts to uppercase (CAPTITALS) | | {{blocks:tolower.png|}} | Converts to lowercase (small letters) | | {{blocks:texttocodes.png|}} | Converts a string to a list of the Unicode values representing that string | | {{blocks:codestotext.png|}} | Converts a list of Unicode values to a string | | {{blocks:readfile.png|}} | Reports the whole contents of an external file | | {{blocks:writefile.png|}} | Writes data to an external file |