Created
October 14, 2019 08:45
-
-
Save Erinziyi/7a4e7f37f6d6e01e2099e8407497efc6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| main() { | |
| var name = domain(portalId:'wilson'); | |
| print(name); | |
| } | |
| domain({String portalId}) { | |
| var url = "https://%12345%.peopleaps.com"; | |
| return url.replaceAll('%12345%', portalId); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment