Subject | string difficulty |
---|---|
Author | checkmail |
Post date | 2015-12-07T08:29:02Z |
Hello @ll,
I have an input string ABCDEFG, filled with * to 16 chars, ABCDEFG*********, followed with zwo digits, f. e. 01
ABCDEFG*********01
01 can I cut for an other function, now I have ABCDEFG*********
The filled * I can delete for my real ID (ABCDEFG)
left(:str, position('*' in :str)-1));
It works find, but there are IDs available with * in the middle of the ID L For example ABC*DEFG and I receive this: ABC*DEFG********01
In this case the function will return ABC
How can I get ABC*DEFG, leave the * between C*D, delete all * from right?
Thank you.
Best regards
Olaf