Returns the number of pixels that a scrollable dynamic panel has been scrolled horizontally. Returns the y value of the widget's top-left corner. Returns the x value of the widget's top-left corner. (Replace "LVAR1" with whatever name you've assigned your local variable.) ] LVAR1 refers to a widget you've stored in a local variable. Target refers to the widget that is the target of the action you're currently configuring, such as the widget being hidden with a Show/Hide action. This refers to the widget whose event you're configuring the current action under, such as a button whose Click or Tap event you might be working with. There are three widget objects you can use: In order to use these options, you'll need to append them to a widget object with "dot notation": Object.property. You can access the properties of widgets, like their location and dimensions, with the options listed under Widget in the Insert Variable or Function menu. Removes all space characters from the beginning and end of the string. ] -> hello, world!Ĭonverts the string to all uppercase characters. string.toLowerCase()Ĭonverts the string to all lowercase characters. The substring() method does not support negative indices. You can optionally omit the second index to instead end at the end of the string. Returns a snippet of the string, starting with the character at the first index and ending with the character just before the second index. You can optionally omit the length to instead end at the end of the string. Returns a snippet of the string, starting with the character at the starting index and continuing until the specified length is reached. You may provide negative indices to count backwards from the end of the string, as in the third example below. Replaces all instances of the search value with the new value. ] -> -1 string.replace("searchValue", "newValue") If the search value isn't found, returns -1. Returns the starting index of the last instance of the search value within the string the function is called on. ] -> -1 string.lastIndexOf("searchValue") Returns the starting index of the first instance of the search value within the string the function is called on. ] -> Hello, world! string.indexOf("searchValue") You can also concatenate strings with the addition operator, +: )Īdds ( concatenates) the string(s) in the parentheses to the string the function is called on. Returns the UTF-16 code unit of the character at the specified index in the string. Returns the character at the specified index in the string. Returns the character length of the string, including spaces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |