how to read space in edit text box
Afficher commentaires plus anciens
Hello, I am working on implementation of blowfish encryption algorithm and it requires me to read data with spaces to be enciphered . Also, the enciphered text that is generated may have spaces , which has to be entered in a text box and will be deciphered later. So I need help to find a function or a block of code which can read even spaces and take the entire data written on the text box as one string.
Link to code
1 commentaire
Geoff Hayes
le 10 Avr 2018
Mahek - are you suggesting that when you read the string from the edit text control that the spaces are not read? Please provide an example of what is happening?
My understanding is that spaces would be included. For example, if the user types "This is my sentence" into the edit text control, then doing
textValue = get(handles.edit1, 'String')
would return the full string. It may be a cell array so you would need to convert it to a char as
textValue = char(get(handles.edit1, 'String'))
Réponses (0)
Catégories
En savoir plus sur Text Data Preparation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!