Arokh Posted June 6, 2007 Posted June 6, 2007 Hi, I created an own program because other solutions missed some features, but since I stopped developping it I'm using another program, which is written in Java# .NET (mine was VBasic .NET). The program which I'm currently using does everything but one thing, so I thought I add it myself. Easier said than done since it is the first time that I'm working with Java# .NET. I'm having a bit trouble with converting types: string Change; Change.Trim("-"); //cannot convert string to char[] I tried (char) & (char[]) without any luck. Quote
Administrators PlausiblyDamp Posted June 6, 2007 Administrators Posted June 6, 2007 J# isn't my strong point but have you tried [highlight=java] Change.Trim('-'); [/highlight] Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Arokh Posted June 6, 2007 Author Posted June 6, 2007 Ok the editor shows no error anymore, but that solution raises another question: I have the same problem here: TXTContent.Split(Temp.Substring(2, 1)); Since I can't just add singlequotes he he. Quote
Administrators PlausiblyDamp Posted June 7, 2007 Administrators Posted June 7, 2007 Try something like [highlight=java] TXTContent.Split(Temp[2]) [/highlight] Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.