Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String Function Help

Status
Not open for further replies.

TheTucsonKid

Programmer
Joined
Sep 7, 2005
Messages
3
Location
US
Hello All,

I need help in finding the right string function to perform a task. I am trying to break the contents of a varchar2 4000 field into smaller, 65 character chunks so it will be compatible with an older system. I need to test for a blank space at character position 65,64,63 and so on until a blank is found. Every 65 character chunk will get a sequence number to keep track of the order. Does anyone know of a function that will return the contents of a specific character position?

Any advice will help greatly. Thanks

Brett
 

Try:

SUBSTR(<string>,<start position>[,<length>]) [3eyes]



----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
That did it. Thanks for the speedy response.

Brett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top