Trying to use a macro to add or remove a *
- asterisk character from a wikitext item list
In wikitext, item lists are formatted as
* Item 1 ** Item 1.1 * Item 2
Pseudocode am planning to use to remove '*'
# Go to the beginning of line
# Use SHIFT + RIGHT ARROW to select the first character
# If the character is `*`
# remove the character
# else
# exit
Questions:
- How to use KM 7 to find if the selected character is an asterisk ?
- Are there any steps that will help check if the selected
character is in a list of characters
- Is it possible to pass the selected character/s to a python script and use the tuple returned from that script in a KM Script ?