Replace data in serialized string Here you can replace some strings into other with proper length recalculation within serialized string: