May 02, 2024, 10:55:49 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Unicode "APPEND" Function

Started by okchoir, May 17, 2009, 02:41:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

okchoir

I am writing Ebasic code to handle unicode strings, and have need to append strings.  I'm seeing that function for ASCII, but not for unicode.  Paul has already included a great complement of Unicode functions in Ebasic, so I am puzzled that this one is not included.  Am I missing something?

Ionic Wind Support Team

Why not just use the + operator?
wa$ = wb$ + wc$

Or _wstrappend, which is what the + operator calls.   

wa$ = _wstrappend(wb$, wc$)

Or even WUSING will work.

wa$ = WUSING("&&",wb$,wc$)

Paul.
Ionic Wind Support Team

okchoir

Thanks, Paul.  The "+" operator works!  I needed a nudge to think "outside the box".

Ionic Wind Support Team

"+" for string concatenation (appending) is standard in all BASIC-like languages. 
Ionic Wind Support Team