Thank you very much for your prompt response if what I need is the last character in that line, try what you tell me but keep showing me all the liena instead of the last character
there must be a space between double quotes
Where here in the assign there is no space.
Kindly have a space between the quotes
Like this… @cristian_urrego
Split(item," ").Last.ToString
Small correction…
Kindly** copy the space between $33 and $174 from your output panel **which is written via write line activity
And paste that space in our expression between double quotes in our split method, I mean Split(item,“HERE”)… @cristian_urrego
He do not need to copy space. just after split he can remove empty entries from returned array by split and can access last index of that array using LAST()
Thanks akshay…
Later realised like why i gave that like a :)child…i was not able to make a edit…it gave me a prompt that i exhausted the edit option and i need to wait for 5 more hours. No worries… thank you… I take this as a opportunity…i saw your interview with uipath community channel in youtube…great job buddy…my best wishes…keep going
Cheers @aksh1yadav
it is ok might be because i saw you multiple times may be to answer in hurry you post just something then make an edit so your post will sshow up
might be wrong
Thanks buddy will keep improving myslef with the help of such talented peers like u and others on the forum though less active but will try my level best
Hello @aksh1yadav
Thank you very much for your answer . I actually worked well with the example you gave me. I am something new in Uipath can you explain me well how that sentence works I do not understand it in its entirety again thanks for your help you are very kind
Sure
i will explain things in code and to understand and map with UiPath you can see attached Sample for your understanding :), in case of any query/ Doubt you can ask…!!
These are 2 String Variable I have taken for input or source of String data on which we have to perform desired manipulation or operation.
This will perform Split operation on String Variable. To know more about Split.
String.Split Method -
Method splits a string into an array of strings separated by the split delimiters. The split delimiters can be a character or an array of characters or an array of strings.
In our above case we are splitting our input string data based on space character so i used " " as a delimiter.
.ToCharArray i have to use because Split supports only Character or String as an input.
to omit empty array elements from the array returned.
Last is found in System.Linq namespace and can be used on arrays, Lists, or anything that implements IEnumerable to get last Element.
Thank you for your time and the explanation it has been clear to me how it works and when to use it is very useful for what I am doing. Again thank you friend I will be investigating every day to make better projects. Regards …