yaniv hanya Active Member Licensed User Jul 31, 2019 #1 How can I check if the a string is valid for a folder name Last edited: Jul 31, 2019
MarcoRome Expert Licensed User Longtime User Jul 31, 2019 #2 Look RegEx https://www.b4x.com/android/forum/threads/b4x-regular-expressions-regex-tutorial.7123/#content Upvote 0
Look RegEx https://www.b4x.com/android/forum/threads/b4x-regular-expressions-regex-tutorial.7123/#content
E emexes Expert Licensed User Jul 31, 2019 #3 Or you could wrap the file or directory operation in a Try..Catch and handball the task to the file/operating system. (the above is mostly joke, partly Plan B ;-) edit: perhaps not as much a joke as I thought; just read this post for the first time: https://www.b4x.com/android/forum/threads/check-if-a-string-is-valid-json-isjson.99974/#post-629042 Last edited: Jul 31, 2019 Upvote 0
Or you could wrap the file or directory operation in a Try..Catch and handball the task to the file/operating system. (the above is mostly joke, partly Plan B ;-) edit: perhaps not as much a joke as I thought; just read this post for the first time: https://www.b4x.com/android/forum/threads/check-if-a-string-is-valid-json-isjson.99974/#post-629042