Hi,
perhaps a simple question, but i found not useable in the online Help and nor here in the Forum search.
I have a String....
Str := 'My Bicycle. My Car. My House';
What must i do for separate this String on the "." (Point).
Its Possible do it? So that i have:
Str1 := 'My Bicycle';
Str2 := 'My Car';
Str3 := 'My House';
Thanks again for our help
Comments
/Bruno
Bruno
http://blogs.ittoolbox.com/erp/smb
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
I have Problem that if mein String is a Text Variable with 45 Characters,
and i read in the ENVIRON Variable
myString Text 45
I became an error,
Overflow under type conversion of Text to Text.
Value: C:\Documen~1\myUser\local...\temp ...
Can I DO everythin for ommit this error message ?
Thanks
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Hmm. i don't know what i did make because any time when i put Text Character over 45 i get error that are too big for the variable, but now it works, i don't must understand it.... :?
Thanks you.
EDIT : HMM. Now i have it again the error,
"The Length of the Source exceeds the Size of the destination Buffer"
.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Hmm. i don't know, ... :oops:
But if i set
myString Text 50
I get an error Overflow under typer conversion of Text to Text.
when i change to:
myString Text 250
I get the error:
The length of source exceed the size of the destination Buffer.
hmm.
myString like this:
myString := '\\path_to_the_server\temppath\filename.ext';
Thanks.
I am experimented with the Multiformat Picture Convertor from Mibuso Download Sections. It seems that i can not pass a large string for the Temp File Create by the Programm. So i think the error don't cames from navison. But Curiosly is that it becames an Navision Error.
It's to early and it rains again in germany, perhaps i understand this later.
It turned out that there were a number of BSTR parameters being returned from the Automation methods that we didn't care about, so we were storing them in a dummy variable of Text[1]. This worked fine in v2.6. In v3.x however, C/SIDE began complaining about the truncation of the string being returned. When we increased the size of the dummy variable, the error went away.
It also seems that there is something strange about the length of strings being returned to C/SIDE through the Automation interface. Even though C/SIDE Text variables can now be declared up to 1024 chars, BSTRs being returned from Automation will result in the above error if they exceed 250 characters. (See the following topic for an example: http://www.mibuso.com/forum/viewtopic.php?t=3093 ). Strange.