You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've got two functions under 'transform.clj', they are called 'makeSplitTiempo' and 'makeSplitPrecio'.
The first one gets the time and the other one the cost for that time. They both split the received string, however, one takes the part corresponding to the time and the other to the cost. So, we need to specify a number which takes care of selecting which part of the splitted string we want to get.
For example 'makeSplitPrecio' function looks like:
We need to replace the number the arrow is pointing to by a variable which value needs to change every time we call the function. In that way we'll ensure that we get all the splitted parts of the string and not just the first one.
The text was updated successfully, but these errors were encountered:
We've got two functions under 'transform.clj', they are called 'makeSplitTiempo' and 'makeSplitPrecio'.
The first one gets the time and the other one the cost for that time. They both split the received string, however, one takes the part corresponding to the time and the other to the cost. So, we need to specify a number which takes care of selecting which part of the splitted string we want to get.
For example 'makeSplitPrecio' function looks like:
We need to replace the number the arrow is pointing to by a variable which value needs to change every time we call the function. In that way we'll ensure that we get all the splitted parts of the string and not just the first one.
The text was updated successfully, but these errors were encountered: