How to get first 5 characters from string using php

$myStr = "HelloWordl";

result should be like this

$result = "Hello";
Edit
Report