Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() | dim X, Y as single dim A, B as string X= 4 Y= 2 A = X ' now string A holds "4" B = "The Answer to Everything is " & A & Y X = right(B,2) ' X now holds the value 42 ... conversions usually are done automatically ... sometimes not if nested ... left(B,2) = "Th"; right(B,2) = "42"; strings.mid(B,5,6) = "Answer" Hopefully that gets you on your way. [Edited by Jim Dean on 5/19/2018 3:05 PM] |