REPLACEB(old_text, start_num, num_chars, new_text)
=REPLACEB(A3,3,2,"10")
The function replaces the last two digits of the value in cell A3 with 10. For example, if the value in cell A3 is 2009, this formula will replace the last two digits (09) with 10, resulting in the value 2010.
=REPLACEB(A4,1,3,"@")
This example replaces the first three characters of the value in cell A4 with a single @ character. For example, if the value in cell A4 is 123456, this formula will replace the first three characters (123) with a single @ character, resulting in the value @456.
REPLACEB is a function used to replace text in a string with another string. It takes into account double-byte characters when editing languages that support DBCS.