Computing.Net > Forums > Programming > Concat function

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Concat function

Reply to Message Icon

Name: vande
Date: September 29, 2008 at 12:11:34 Pacific
OS: Windows xp, Windows
CPU/Ram: 2.4 quad core Intel
Product: Dell, Dell, Dell
Comment:

Below is a reading when i was trying to read about concatining strings within bpel expression builder

what i need some clarification about is the part "Returns the first argument string with occurrences of characters in the second argument " And E.T.C. After this i mean i try to look at the examples they have placed in this explanation. But first off what are they trying to say here can someone explain in easier terms or give me a better example?


When they say "first argument" or second "second argument" And they talking
"("bar","abc","ABC") " bar would be one argument? abc would be second ABC would be third


Returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC") returns "AAA". If a character occurs more than once in the second argument string, then the first occurrence determines the replacement character. If the third argument string is longer than the second argument string, then excess characters are ignored.

Learning in progress..........



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Batch file skipping certa... Java Object Serialization



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Concat function

Mixing strings in C++? www.computing.net/answers/programming/mixing-strings-in-c/13384.html

VBA math function for time dilation www.computing.net/answers/programming/vba-math-function-for-time-dilation/6177.html

functions to share a directory www.computing.net/answers/programming/functions-to-share-a-directory/83.html