Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

vgalopin
2012-04-10 16:54:13

Hi skatpally,

You can do the following:
DSLink3.col1.substring(0,3).

In Java, the index of the first character is 0, not 1.

skatpally
2012-04-09 19:08:37

Hi Guys,
            I have a question regarding substring function. I am trying to extract first 3 characters from column.

Following is the function i am using. StringHandling.substr(DSLink3.col1,1,3). I am getting error.

Thanks for help

Board footer

Powered by FluxBB