Log in

View Full Version : Char[] array insert


SEV637
Dec 7, 2011, 08:51 PM
Hey I was just wondering how I would solve this, I have tried many options but none of them seem to work, I have commented in what I actually need done, would someone please be able to help me?


Public class StringImproved
{
char[] content;

public boolean insert(java.lang.String insertionString, int index)
{
return false;
/**
* Insert the nominated string at the index.
* @param insertionString The string to insert into StringImproved object.
* @param index The position to insert at.
* @return True if successful false otherwise.
*/
}
}

Cheers :)