From 0fde94899ea4d4afc70f7eba856d888af548e402 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 15 Apr 2020 15:48:59 +0200 Subject: [PATCH] [String] fix typo --- components/string.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/string.rst b/components/string.rst index 1a06c5ad69f..2eb2f88a038 100644 --- a/components/string.rst +++ b/components/string.rst @@ -152,8 +152,8 @@ There is also a method to get the bytes stored at some position:: b('नमस्ते')->bytesAt(0); // [224] u('नमस्ते')->bytesAt(0); // [224, 164, 168] - b('नमस्ते')->bytesAt(1); // [168] - u('नमस्ते')->bytesAt(1); // [224, 164, 184, 224, 165, 141] + b('नमस्ते')->bytesAt(1); // [164] + u('नमस्ते')->bytesAt(1); // [224, 164, 174] Methods Related to Length and White Spaces ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~