Checking caps in INPUT macro
Posted: Mar 8th, ’18, 23:48
Hi again,
New problem:
I want to use input, but check if the first letter is capital or not and use the appropriate tag.
Ex:
$T%INPUT_test%:%INPUT_test2%; ; if first letters are lowercase
$t%INPUT_test%:%INPUT_test2%; ; if first letters are uppercase
I tried using Insert Command Code, but I can't get the values of INPUT_test and INPUT_test2 to test for case.
If possible, I'd like to keep using macros so it's easy to explain to coleagues how to tweak this to their needs (non programmers).
New problem:
I want to use input, but check if the first letter is capital or not and use the appropriate tag.
Ex:
$T%INPUT_test%:%INPUT_test2%; ; if first letters are lowercase
$t%INPUT_test%:%INPUT_test2%; ; if first letters are uppercase
I tried using Insert Command Code, but I can't get the values of INPUT_test and INPUT_test2 to test for case.
If possible, I'd like to keep using macros so it's easy to explain to coleagues how to tweak this to their needs (non programmers).