Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Silicon Power on September 15, 2019, 04:39:04 AM
-
Hi. is there a way to define if there is "Invalid characters" inside a string? I don't want to allow characters like / | > < ” ؟ * : \ inside a string.
-
You have to parse (scan) the whole string. You may use the default actions, it's definitely doable that way with String Replace after parsing the string you wish to edit. But there's more stuff on the Ecosystem.
There are some extra actions like:
- String Replace Each Char
- String Remove Chars
- String Contains Fast
You can create an action-suite that scans, cuts, removes and rebuilds strings once the editing is complete.
-
You have to parse (scan) the whole string. You may use the default actions, it's definitely doable that way with String Replace after parsing the string you wish to edit. But there's more stuff on the Ecosystem.
There are some extra actions like:
- String Replace Each Char
- String Remove Chars
- String Contains Fast
You can create an action-suite that scans, cuts, removes and rebuilds strings once the editing is complete.
Thank you. I'll test it soon.