Get Character as Number

Get Character as Number

Windows
MacOS
Linux

Gets a single character from the string (as an integer)

Target is Kismet String Library

Get Character as Number
Source String
Index
0
Return Value
0

Inputs

Source String
String

The string to convert

Index
Integer

Location of the character whose value is required

Outputs

Return Value
Integer

The integer value of the character or 0 if index is out of range

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback