stringparsebackspace

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 3.5, Creation date: 2017-03-03, Last change: 2025-09-14

processes a char array similar to an input scan process

Description

This functions is required if keyboard sequences should be send to Matlab's eval command
Some characters such as backspace (08) eliminate the preceding character.

See Also:

Example Illustration

 missing image of stringparsebackspace(inpstr)

Syntax

outstr=stringparsebackspace(inpstr)

Input Parameter

inpstr: input string including all control characters

Output Parameter

outstr: some control characters are processed

Examples


stringparsebackspace(['123456' 08 'ABCDE'])
stringparsebackspace([08 '123456' 08 'ABCDE'])
stringparsebackspace([08 '123456' 08 'ABCDE' 13 08 ])




Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21