Hello, Is it a bug or we cannot input some B4X keywords inside a SmartString string? Thank you
Toky Olivier Active Member Licensed User Longtime User Jun 11, 2020 #1 Hello, Is it a bug or we cannot input some B4X keywords inside a SmartString string? Thank you
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2020 #2 This is a by design limitation related to performance considerations.
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2020 #3 Tip: Better to use XUI.FileURI instead of the old WebViewAssetFile method.
Toky Olivier Active Member Licensed User Longtime User Jun 11, 2020 #4 Erel said: This is a by design limitation related to performance considerations. Click to expand... Yes but It makes the smart string and all the code more difficult to read.
Erel said: This is a by design limitation related to performance considerations. Click to expand... Yes but It makes the smart string and all the code more difficult to read.
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2020 #5 This is a very edge case and, as I already wrote, the performance overhead of dealing with this edge case isn't worth it. It is very simple to create a workaround. For example change to ~Sub and later: content = content.Replace("~", "")
This is a very edge case and, as I already wrote, the performance overhead of dealing with this edge case isn't worth it. It is very simple to create a workaround. For example change to ~Sub and later: content = content.Replace("~", "")