[Lazarus] String with °

Kamen Kamen kamenlist at abv.bg
Thu Oct 10 10:52:24 CEST 2013


 
Hello, 
I have string with ° and I want to delete all symbols to °. When I delete symbol ° returns #176. How can I delete this symbol? 
Exampe: s := '49°45 ';
 
After: delete (s, 1, 2); --> '°45 ' 
After: delete (s, 1, 1); or delete (s, pos ('°', s), 1); -->

#176'45 '
 
I want to reseive only '45 '. 
Regards,
Kamen
 

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131010/73844d0b/attachment-0002.html>


More information about the Lazarus mailing list