Replies: 2 comments 1 reply
-
For that purpose, I would use an external method. For the ink documentation on creating the external method https://github.com/inkle/ink/blob/master/Documentation/RunningYourInk.md#external-functions So the ink side would be creating a method like this
For example in js
You will have the same kind of method in another language. If you are still lost, let me know your language, how you are exporting/executing the ink file, and we can help you more |
Beta Was this translation helpful? Give feedback.
-
I agree that using external functions is the best way to handle this-- but Ink should have more string-parsing functions! Just to see if I could, I implemented a function that could do this using the ? expression, but it is slow and could have performance implications.
|
Beta Was this translation helpful? Give feedback.
-
Anyone have any idea how I could go about getting the first letter of a word in ink?
Somehow parsing a string
Beta Was this translation helpful? Give feedback.
All reactions