Topic: How To Use Fuction String To Hex Or Hex To String

i will have to use convert  Hex To string Or String To Hex  for Fix Error  long text in UNICODE and  ASCII but don't write edit code 
Help Me please ???

My Visual Database : I Love You
Easy For Beginner Student For Me

Re: How To Use Fuction String To Hex Or Hex To String

Hello prahousefamily

Can this help you ?  (See attachment)

JB

Post's attachments

Attachment icon Hex2String.zip 309 b, 490 downloads since 2016-12-25 

Re: How To Use Fuction String To Hex Or Hex To String

Thank You jean.brezhonek For Help Code...
Um... Little Question
How To Edit code in MVD and Use Function  This ???
Help Show Example !!!

Post's attachments

Attachment icon FunctionHex.zip 2.66 kb, 486 downloads since 2016-12-26 

My Visual Database : I Love You
Easy For Beginner Student For Me

Re: How To Use Fuction String To Hex Or Hex To String

Hello prahousefamily

Examples to use those functions :

On a form, place 2 EditBox and 2 buttons.
As a challenge, I let you discover what procedure will be the trigger

1 - Function StringToHex

Edit1.Text := '48616C6C6F206963682062696E2065696E2054657874';
Edit2.Text := StringToHex(Edit1.Text);

2 -  Function HexToString

Edit1.Text := 'Le monde devrait être meilleur';
Edit2.Text := HexToString(Edit1.Text);

JB